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.
Implementations§
Source§impl KF
impl KF
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 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 Ord for KF
impl Ord for KF
Source§impl PartialOrd for KF
impl PartialOrd for KF
impl Copy for KF
impl Eq for KF
impl StructuralPartialEq for KF
Auto Trait Implementations§
impl Freeze for KF
impl RefUnwindSafe for KF
impl Send for KF
impl Sync for KF
impl Unpin for KF
impl UnwindSafe for KF
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