pub struct FileOpenOptions {
pub read: bool,
pub write: bool,
pub append: bool,
pub truncate: bool,
pub create: bool,
}Fields§
§read: bool§write: bool§append: bool§truncate: bool§create: boolTrait Implementations§
Source§impl Clone for FileOpenOptions
impl Clone for FileOpenOptions
Source§fn clone(&self) -> FileOpenOptions
fn clone(&self) -> FileOpenOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FileOpenOptions
Source§impl Debug for FileOpenOptions
impl Debug for FileOpenOptions
Source§impl Default for FileOpenOptions
impl Default for FileOpenOptions
Source§fn default() -> FileOpenOptions
fn default() -> FileOpenOptions
Returns the “default value” for a type. Read more
impl Eq for FileOpenOptions
Source§impl PartialEq for FileOpenOptions
impl PartialEq for FileOpenOptions
impl StructuralPartialEq for FileOpenOptions
Auto Trait Implementations§
impl Freeze for FileOpenOptions
impl RefUnwindSafe for FileOpenOptions
impl Send for FileOpenOptions
impl Sync for FileOpenOptions
impl Unpin for FileOpenOptions
impl UnsafeUnpin for FileOpenOptions
impl UnwindSafe for FileOpenOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.