Struct windows_sys::Storage::Streams::FileOpenDisposition
[−]#[repr(transparent)]pub struct FileOpenDisposition(pub i32);
Expand description
Required features: "Storage_Streams"
Tuple Fields
0: i32
Implementations
impl FileOpenDisposition
impl FileOpenDisposition
pub const OpenExisting: Self = Self(0i32)
pub const OpenAlways: Self = Self(1i32)
pub const CreateNew: Self = Self(2i32)
pub const CreateAlways: Self = Self(3i32)
pub const TruncateExisting: Self = Self(4i32)
Trait Implementations
impl Clone for FileOpenDisposition
impl Clone for FileOpenDisposition
impl Copy for FileOpenDisposition
Auto Trait Implementations
impl RefUnwindSafe for FileOpenDisposition
impl Send for FileOpenDisposition
impl Sync for FileOpenDisposition
impl Unpin for FileOpenDisposition
impl UnwindSafe for FileOpenDisposition
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more