Struct UbiRsvolReq
#[repr(C, packed(1))]pub struct UbiRsvolReq {
pub bytes: i64,
pub vol_id: i32,
}Expand description
struct ubi_rsvol_req: a new size for a volume.
A static volume can’t shrink below its data. Truncate it first with
ubi_volup.
Fields§
§bytes: i64New size of the volume in bytes.
vol_id: i32ID of the volume.
Trait Implementations§
§impl Clone for UbiRsvolReq
impl Clone for UbiRsvolReq
§fn clone(&self) -> UbiRsvolReq
fn clone(&self) -> UbiRsvolReq
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 UbiRsvolReq
§impl Debug for UbiRsvolReq
impl Debug for UbiRsvolReq
§impl Default for UbiRsvolReq
impl Default for UbiRsvolReq
§fn default() -> UbiRsvolReq
fn default() -> UbiRsvolReq
Returns the “default value” for a type. Read more
impl Eq for UbiRsvolReq
§impl Hash for UbiRsvolReq
impl Hash for UbiRsvolReq
§impl PartialEq for UbiRsvolReq
impl PartialEq for UbiRsvolReq
impl StructuralPartialEq for UbiRsvolReq
Auto Trait Implementations§
impl Freeze for UbiRsvolReq
impl RefUnwindSafe for UbiRsvolReq
impl Send for UbiRsvolReq
impl Sync for UbiRsvolReq
impl Unpin for UbiRsvolReq
impl UnsafeUnpin for UbiRsvolReq
impl UnwindSafe for UbiRsvolReq
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