pub struct RT(/* private fields */);
Available on crate feature
kernel
only.Expand description
Predefined resource
types
(u16
).
Implementations§
source§impl RT
impl RT
sourcepub const unsafe fn from_raw(v: u16) -> Self
pub const unsafe fn from_raw(v: u16) -> 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) -> u16
pub const fn raw(&self) -> u16
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 RT
impl RT
pub const ACCELERATOR: Self = _
pub const ANICURSOR: Self = _
pub const ANIICON: Self = _
pub const BITMAP: Self = _
pub const CURSOR: Self = _
pub const DIALOG: Self = _
pub const DLGINCLUDE: Self = _
pub const FONT: Self = _
pub const FONTDIR: Self = _
pub const GROUP_CURSOR: Self = _
pub const GROUP_ICON: Self = _
pub const HTML: Self = _
pub const ICON: Self = _
pub const MANIFEST: Self = _
pub const MENU: Self = _
pub const MESSAGETABLE: Self = _
pub const PLUGPLAY: Self = _
pub const RCDATA: Self = _
pub const STRING: Self = _
pub const VERSION: Self = _
pub const VXD: Self = _
Trait Implementations§
source§impl IntUnderlying for RT
impl IntUnderlying for RT
source§impl Ord for RT
impl Ord for RT
source§impl PartialOrd for RT
impl PartialOrd for RT
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 RT
impl Eq for RT
impl NativeConst for RT
impl Send for RT
impl StructuralPartialEq for RT
Auto Trait Implementations§
impl Freeze for RT
impl RefUnwindSafe for RT
impl Sync for RT
impl Unpin for RT
impl UnwindSafe for RT
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