#[repr(C)]pub struct BlockdevCacheOptions {
pub has_direct: bool,
pub direct: bool,
pub has_no_flush: bool,
pub no_flush: bool,
}Fields§
§has_direct: bool§direct: bool§has_no_flush: bool§no_flush: boolTrait Implementations§
Source§impl Clone for BlockdevCacheOptions
impl Clone for BlockdevCacheOptions
Source§fn clone(&self) -> BlockdevCacheOptions
fn clone(&self) -> BlockdevCacheOptions
Returns a duplicate 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 BlockdevCacheOptions
impl Debug for BlockdevCacheOptions
impl Copy for BlockdevCacheOptions
Auto Trait Implementations§
impl Freeze for BlockdevCacheOptions
impl RefUnwindSafe for BlockdevCacheOptions
impl Send for BlockdevCacheOptions
impl Sync for BlockdevCacheOptions
impl Unpin for BlockdevCacheOptions
impl UnwindSafe for BlockdevCacheOptions
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