Struct UbiRnvolEnt
#[repr(C)]pub struct UbiRnvolEnt {
pub vol_id: i32,
pub name_len: i16,
pub padding2: [i8; 2],
pub name: [c_char; 128],
}Expand description
Entry of UbiRnvolReq: a volume and its new name.
The header declares it inside struct ubi_rnvol_req.
Fields§
§vol_id: i32ID of the volume.
name_len: i16Length of name without the zero byte.
padding2: [i8; 2]Reserved, must be 0.
name: [c_char; 128]New name of the volume, ending with a zero byte.
Trait Implementations§
§impl Clone for UbiRnvolEnt
impl Clone for UbiRnvolEnt
§fn clone(&self) -> UbiRnvolEnt
fn clone(&self) -> UbiRnvolEnt
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 UbiRnvolEnt
§impl Debug for UbiRnvolEnt
impl Debug for UbiRnvolEnt
§impl Default for UbiRnvolEnt
impl Default for UbiRnvolEnt
impl Eq for UbiRnvolEnt
§impl Hash for UbiRnvolEnt
impl Hash for UbiRnvolEnt
§impl PartialEq for UbiRnvolEnt
impl PartialEq for UbiRnvolEnt
impl StructuralPartialEq for UbiRnvolEnt
Auto Trait Implementations§
impl Freeze for UbiRnvolEnt
impl RefUnwindSafe for UbiRnvolEnt
impl Send for UbiRnvolEnt
impl Sync for UbiRnvolEnt
impl Unpin for UbiRnvolEnt
impl UnsafeUnpin for UbiRnvolEnt
impl UnwindSafe for UbiRnvolEnt
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