pub struct CF(/* private fields */);
Available on crate features
kernel
and user
only.Expand description
Standard clipboard
formats
(u32
).
Implementations§
source§impl CF
impl CF
sourcepub const unsafe fn from_raw(v: u32) -> Self
pub const unsafe fn from_raw(v: u32) -> Self
Constructs a new object by wrapping the given integer value.
§Safety
Be sure the given value is meaningful for the actual type.
sourcepub const fn raw(&self) -> u32
pub const fn raw(&self) -> u32
Returns the primitive integer underlying value.
This method is similar to Into
, but it
is const
, therefore it can be used in
const contexts.
source§impl CF
impl CF
pub const TEXT: Self = _
pub const BITMAP: Self = _
pub const METAFILEPICT: Self = _
pub const SYLK: Self = _
pub const DIF: Self = _
pub const TIFF: Self = _
pub const OEMTEXT: Self = _
pub const DIB: Self = _
pub const PALETTE: Self = _
pub const PENDATA: Self = _
pub const RIFF: Self = _
pub const WAVE: Self = _
pub const UNICODETEXT: Self = _
pub const ENHMETAFILE: Self = _
pub const HDROP: Self = _
pub const LOCALE: Self = _
pub const DIBV5: Self = _
pub const OWNERDISPLAY: Self = _
pub const DSPTEXT: Self = _
pub const DSPBITMAP: Self = _
pub const DSPMETAFILEPICT: Self = _
pub const DSPENHMETAFILE: Self = _
pub const PRIVATEFIRST: Self = _
pub const PRIVATELAST: Self = _
pub const GDIOBJFIRST: Self = _
pub const GDIOBJLAST: Self = _
Trait Implementations§
source§impl IntUnderlying for CF
impl IntUnderlying for CF
source§impl Ord for CF
impl Ord for CF
source§impl PartialOrd for CF
impl PartialOrd for CF
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for CF
impl Eq for CF
impl NativeConst for CF
impl Send for CF
impl StructuralPartialEq for CF
Auto Trait Implementations§
impl Freeze for CF
impl RefUnwindSafe for CF
impl Sync for CF
impl Unpin for CF
impl UnwindSafe for CF
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more