Struct UbiVolProp
#[repr(transparent)]pub struct UbiVolProp(pub u8);Expand description
Property of a volume, the UBI_VOL_PROP_* constants.
Tuple Fields§
§0: u8Implementations§
§impl UbiVolProp
impl UbiVolProp
pub const DIRECT_WRITE: Self
pub const DIRECT_WRITE: Self
UBI_VOL_PROP_DIRECT_WRITE: any value but 0 allows write() to a
UbiVolType::DYNAMIC volume outside an update or a logical
eraseblock change. Without it, such writes return EPERM.
Trait Implementations§
§impl Clone for UbiVolProp
impl Clone for UbiVolProp
§fn clone(&self) -> UbiVolProp
fn clone(&self) -> UbiVolProp
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 UbiVolProp
§impl Debug for UbiVolProp
impl Debug for UbiVolProp
§impl Default for UbiVolProp
impl Default for UbiVolProp
§fn default() -> UbiVolProp
fn default() -> UbiVolProp
Returns the “default value” for a type. Read more
impl Eq for UbiVolProp
§impl Hash for UbiVolProp
impl Hash for UbiVolProp
§impl PartialEq for UbiVolProp
impl PartialEq for UbiVolProp
impl StructuralPartialEq for UbiVolProp
Auto Trait Implementations§
impl Freeze for UbiVolProp
impl RefUnwindSafe for UbiVolProp
impl Send for UbiVolProp
impl Sync for UbiVolProp
impl Unpin for UbiVolProp
impl UnsafeUnpin for UbiVolProp
impl UnwindSafe for UbiVolProp
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