Struct winsafe::co::REPLACEFILE
source · pub struct REPLACEFILE(/* private fields */);
Available on crate feature
kernel
only.Expand description
ReplaceFile
flags
(u32
).
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl REPLACEFILE
impl REPLACEFILE
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 REPLACEFILE
impl REPLACEFILE
pub const WRITE_THROUGH: Self = _
pub const IGNORE_MERGE_ERRORS: Self = _
pub const IGNORE_ACL_ERRORS: Self = _
Trait Implementations§
source§impl AsRef<u32> for REPLACEFILE
impl AsRef<u32> for REPLACEFILE
source§impl Binary for REPLACEFILE
impl Binary for REPLACEFILE
source§impl BitAnd for REPLACEFILE
impl BitAnd for REPLACEFILE
source§impl BitAndAssign for REPLACEFILE
impl BitAndAssign for REPLACEFILE
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOr for REPLACEFILE
impl BitOr for REPLACEFILE
source§impl BitOrAssign for REPLACEFILE
impl BitOrAssign for REPLACEFILE
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXor for REPLACEFILE
impl BitXor for REPLACEFILE
source§impl BitXorAssign for REPLACEFILE
impl BitXorAssign for REPLACEFILE
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl Clone for REPLACEFILE
impl Clone for REPLACEFILE
source§fn clone(&self) -> REPLACEFILE
fn clone(&self) -> REPLACEFILE
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for REPLACEFILE
impl Debug for REPLACEFILE
source§impl Default for REPLACEFILE
impl Default for REPLACEFILE
source§fn default() -> REPLACEFILE
fn default() -> REPLACEFILE
Returns the “default value” for a type. Read more
source§impl Display for REPLACEFILE
impl Display for REPLACEFILE
source§impl From<REPLACEFILE> for u32
impl From<REPLACEFILE> for u32
source§fn from(v: REPLACEFILE) -> Self
fn from(v: REPLACEFILE) -> Self
Converts to this type from the input type.
source§impl Hash for REPLACEFILE
impl Hash for REPLACEFILE
source§impl IntUnderlying for REPLACEFILE
impl IntUnderlying for REPLACEFILE
source§impl LowerHex for REPLACEFILE
impl LowerHex for REPLACEFILE
source§impl NativeBitflag for REPLACEFILE
impl NativeBitflag for REPLACEFILE
source§impl Not for REPLACEFILE
impl Not for REPLACEFILE
source§impl Octal for REPLACEFILE
impl Octal for REPLACEFILE
source§impl PartialEq for REPLACEFILE
impl PartialEq for REPLACEFILE
source§fn eq(&self, other: &REPLACEFILE) -> bool
fn eq(&self, other: &REPLACEFILE) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl UpperHex for REPLACEFILE
impl UpperHex for REPLACEFILE
impl Copy for REPLACEFILE
impl Eq for REPLACEFILE
impl NativeConst for REPLACEFILE
impl Send for REPLACEFILE
impl StructuralPartialEq for REPLACEFILE
Auto Trait Implementations§
impl RefUnwindSafe for REPLACEFILE
impl Sync for REPLACEFILE
impl Unpin for REPLACEFILE
impl UnwindSafe for REPLACEFILE
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