Struct panda_sys::BlockdevOptions
source · #[repr(C)]pub struct BlockdevOptions {
pub driver: BlockdevDriver,
pub has_node_name: bool,
pub node_name: *mut c_char,
pub has_discard: bool,
pub discard: BlockdevDiscardOptions,
pub has_cache: bool,
pub cache: *mut BlockdevCacheOptions,
pub has_read_only: bool,
pub read_only: bool,
pub has_detect_zeroes: bool,
pub detect_zeroes: BlockdevDetectZeroesOptions,
pub u: BlockdevOptions__bindgen_ty_1,
}
Fields§
§driver: BlockdevDriver
§has_node_name: bool
§node_name: *mut c_char
§has_discard: bool
§discard: BlockdevDiscardOptions
§has_cache: bool
§cache: *mut BlockdevCacheOptions
§has_read_only: bool
§read_only: bool
§has_detect_zeroes: bool
§detect_zeroes: BlockdevDetectZeroesOptions
§u: BlockdevOptions__bindgen_ty_1
Trait Implementations§
source§impl Clone for BlockdevOptions
impl Clone for BlockdevOptions
source§fn clone(&self) -> BlockdevOptions
fn clone(&self) -> BlockdevOptions
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 moreimpl Copy for BlockdevOptions
Auto Trait Implementations§
impl RefUnwindSafe for BlockdevOptions
impl !Send for BlockdevOptions
impl !Sync for BlockdevOptions
impl Unpin for BlockdevOptions
impl UnwindSafe for BlockdevOptions
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