pub struct KF(/* private fields */);
Available on crate features
kernel
and shell
only.Expand description
KNOWN_FOLDER_FLAG
enumeration (u32
).
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl KF
impl KF
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 KF
impl KF
pub const DEFAULT: Self = _
pub const FORCE_APP_DATA_REDIRECTION: Self = _
pub const RETURN_FILTER_REDIRECTION_TARGET: Self = _
pub const FORCE_PACKAGE_REDIRECTION: Self = _
pub const NO_PACKAGE_REDIRECTION: Self = _
pub const FORCE_APPCONTAINER_REDIRECTION: Self = _
pub const NO_APPCONTAINER_REDIRECTION: Self = _
pub const CREATE: Self = _
pub const DONT_VERIFY: Self = _
pub const DONT_UNEXPAND: Self = _
pub const NO_ALIAS: Self = _
pub const INIT: Self = _
pub const DEFAULT_PATH: Self = _
pub const NOT_PARENT_RELATIVE: Self = _
pub const SIMPLE_IDLIST: Self = _
pub const ALIAS_ONLY: Self = _
Trait Implementations§
source§impl BitAndAssign for KF
impl BitAndAssign for KF
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOrAssign for KF
impl BitOrAssign for KF
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXorAssign for KF
impl BitXorAssign for KF
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl IntUnderlying for KF
impl IntUnderlying for KF
source§impl NativeBitflag for KF
impl NativeBitflag for KF
impl Copy for KF
impl Eq for KF
impl NativeConst for KF
impl Send for KF
impl StructuralPartialEq for KF
Auto Trait Implementations§
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