pub struct FILE_FLAG(/* private fields */);
Available on crate feature
kernel
only.Expand description
HFILE::CreateFile
flags
(u32
).
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl FILE_FLAG
impl FILE_FLAG
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 FILE_FLAG
impl FILE_FLAG
pub const BACKUP_SEMANTICS: Self = _
pub const DELETE_ON_CLOSE: Self = _
pub const NO_BUFFERING: Self = _
pub const OPEN_NO_RECALL: Self = _
pub const OPEN_REPARSE_POINT: Self = _
pub const OVERLAPPED: Self = _
pub const POSIX_SEMANTICS: Self = _
pub const RANDOM_ACCESS: Self = _
pub const SESSION_AWARE: Self = _
pub const SEQUENTIAL_SCAN: Self = _
pub const WRITE_THROUGH: Self = _
Trait Implementations§
source§impl BitAndAssign for FILE_FLAG
impl BitAndAssign for FILE_FLAG
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOrAssign for FILE_FLAG
impl BitOrAssign for FILE_FLAG
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXorAssign for FILE_FLAG
impl BitXorAssign for FILE_FLAG
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl IntUnderlying for FILE_FLAG
impl IntUnderlying for FILE_FLAG
source§impl NativeBitflag for FILE_FLAG
impl NativeBitflag for FILE_FLAG
source§impl Ord for FILE_FLAG
impl Ord for FILE_FLAG
source§impl PartialEq for FILE_FLAG
impl PartialEq for FILE_FLAG
source§impl PartialOrd for FILE_FLAG
impl PartialOrd for FILE_FLAG
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 FILE_FLAG
impl Eq for FILE_FLAG
impl NativeConst for FILE_FLAG
impl Send for FILE_FLAG
impl StructuralPartialEq for FILE_FLAG
Auto Trait Implementations§
impl Freeze for FILE_FLAG
impl RefUnwindSafe for FILE_FLAG
impl Sync for FILE_FLAG
impl Unpin for FILE_FLAG
impl UnwindSafe for FILE_FLAG
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