Struct UbiRnvolReq
#[repr(C)]pub struct UbiRnvolReq {
pub count: i32,
pub padding1: [i8; 12],
pub ents: [UbiRnvolEnt; 32],
}Expand description
struct ubi_rnvol_req: volumes to rename in one atomic step.
A volume that has a new name of the request already is removed, unless
the request renames it as well. So A1 -> A replaces A with A1, and
A1 -> A, A -> A1 swaps them.
Fields§
§count: i32Number of valid entries in ents.
padding1: [i8; 12]Reserved, must be 0.
ents: [UbiRnvolEnt; 32]Volumes and their new names.
Trait Implementations§
§impl Clone for UbiRnvolReq
impl Clone for UbiRnvolReq
§fn clone(&self) -> UbiRnvolReq
fn clone(&self) -> UbiRnvolReq
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 UbiRnvolReq
§impl Debug for UbiRnvolReq
impl Debug for UbiRnvolReq
§impl Default for UbiRnvolReq
impl Default for UbiRnvolReq
§fn default() -> UbiRnvolReq
fn default() -> UbiRnvolReq
Returns the “default value” for a type. Read more
impl Eq for UbiRnvolReq
§impl Hash for UbiRnvolReq
impl Hash for UbiRnvolReq
§impl PartialEq for UbiRnvolReq
impl PartialEq for UbiRnvolReq
impl StructuralPartialEq for UbiRnvolReq
Auto Trait Implementations§
impl Freeze for UbiRnvolReq
impl RefUnwindSafe for UbiRnvolReq
impl Send for UbiRnvolReq
impl Sync for UbiRnvolReq
impl Unpin for UbiRnvolReq
impl UnsafeUnpin for UbiRnvolReq
impl UnwindSafe for UbiRnvolReq
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