pub struct STPFLAG(/* private fields */);
Available on crate features
kernel
and shell
only.Expand description
STPFLAG
enumeration (u32
).
Implementations§
Source§impl STPFLAG
impl STPFLAG
Sourcepub const unsafe fn as_mut(&mut self) -> &mut u32
pub const unsafe fn as_mut(&mut self) -> &mut u32
Returns a mutable reference to the underlying raw value.
§Safety
Be sure the integer being set is meaningful for the actual type.
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 STPFLAG
impl STPFLAG
pub const NONE: Self
pub const USEAPPTHUMBNAILALWAYS: Self
pub const USEAPPTHUMBNAILWHENACTIVE: Self
pub const USEAPPPEEKALWAYS: Self
pub const USEAPPPEEKWHENACTIVE: Self
Trait Implementations§
Source§impl Ord for STPFLAG
impl Ord for STPFLAG
Source§impl PartialOrd for STPFLAG
impl PartialOrd for STPFLAG
impl Copy for STPFLAG
impl Eq for STPFLAG
impl StructuralPartialEq for STPFLAG
Auto Trait Implementations§
impl Freeze for STPFLAG
impl RefUnwindSafe for STPFLAG
impl Send for STPFLAG
impl Sync for STPFLAG
impl Unpin for STPFLAG
impl UnwindSafe for STPFLAG
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