Struct r_core::r_magic[][src]

#[repr(C)]
pub struct r_magic {
Show 18 fields pub cont_level: c_ushort, pub flag: c_uchar, pub dummy1: c_uchar, pub reln: c_uchar, pub vallen: c_uchar, pub type_: c_uchar, pub in_type: c_uchar, pub in_op: c_uchar, pub mask_op: c_uchar, pub cond: c_uchar, pub dummy2: c_uchar, pub offset: c_uint, pub in_offset: c_uint, pub lineno: c_uint, pub _u: r_magic__bindgen_ty_1, pub value: VALUETYPE, pub desc: [c_char; 64], pub mimetype: [c_char; 64],
}

Fields

cont_level: c_ushortflag: c_uchardummy1: c_ucharreln: c_ucharvallen: c_uchartype_: c_ucharin_type: c_ucharin_op: c_ucharmask_op: c_ucharcond: c_uchardummy2: c_ucharoffset: c_uintin_offset: c_uintlineno: c_uint_u: r_magic__bindgen_ty_1value: VALUETYPEdesc: [c_char; 64]mimetype: [c_char; 64]

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.