#[repr(C)]pub struct r_magic {Show 18 fields
pub cont_level: u16,
pub flag: u8,
pub dummy1: u8,
pub reln: u8,
pub vallen: u8,
pub type_: u8,
pub in_type: u8,
pub in_op: u8,
pub mask_op: u8,
pub cond: u8,
pub dummy2: u8,
pub offset: u32,
pub in_offset: u32,
pub lineno: u32,
pub _u: r_magic__bindgen_ty_1,
pub value: VALUETYPE,
pub desc: [c_char; 64],
pub mimetype: [c_char; 64],
}
Fields
cont_level: u16
flag: u8
dummy1: u8
reln: u8
vallen: u8
type_: u8
in_type: u8
in_op: u8
mask_op: u8
cond: u8
dummy2: u8
offset: u32
in_offset: u32
lineno: u32
_u: r_magic__bindgen_ty_1
value: VALUETYPE
desc: [c_char; 64]
mimetype: [c_char; 64]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for r_magic
impl Send for r_magic
impl Sync for r_magic
impl Unpin for r_magic
impl UnwindSafe for r_magic
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more