pub struct Leaf(pub u16);
Expand description
Identifies type records. Also called “leaf” records.
Tuple Fields§
§0: u16
Implementations§
Source§impl Leaf
impl Leaf
pub const LF_MODIFIER_16t: Leaf
pub const LF_POINTER_16t: Leaf
pub const LF_ARRAY_16t: Leaf
pub const LF_CLASS_16t: Leaf
pub const LF_STRUCTURE_16t: Leaf
pub const LF_UNION_16t: Leaf
pub const LF_ENUM_16t: Leaf
pub const LF_PROCEDURE_16t: Leaf
pub const LF_MFUNCTION_16t: Leaf
pub const LF_VTSHAPE: Leaf
pub const LF_COBOL1: Leaf
pub const LF_LABEL: Leaf
pub const LF_NULL: Leaf
pub const LF_ENDPRECOMP: Leaf
pub const LF_REFSYM: Leaf
pub const LF_FRIENDCLS: Leaf
pub const LF_MODIFIER: Leaf
pub const LF_POINTER: Leaf
pub const LF_PROCEDURE: Leaf
pub const LF_MFUNCTION: Leaf
pub const LF_COBOL0: Leaf
pub const LF_BARRAY: Leaf
pub const LF_VFTPATH: Leaf
pub const LF_OEM: Leaf
pub const LF_OEM2: Leaf
pub const LF_SKIP: Leaf
pub const LF_ARGLIST: Leaf
pub const LF_FIELDLIST: Leaf
pub const LF_DERIVED: Leaf
pub const LF_BITFIELD: Leaf
pub const LF_METHODLIST: Leaf
pub const LF_DIMCONU: Leaf
pub const LF_DIMCONLU: Leaf
pub const LF_DIMVARU: Leaf
pub const LF_DIMVARLU: Leaf
pub const LF_BCLASS: Leaf
pub const LF_VBCLASS: Leaf
pub const LF_IVBCLASS: Leaf
pub const LF_INDEX: Leaf
pub const LF_VFUNCTAB: Leaf
pub const LF_VFUNCOFF: Leaf
pub const LF_ENUMERATE: Leaf
pub const LF_ARRAY: Leaf
pub const LF_CLASS: Leaf
pub const LF_STRUCTURE: Leaf
pub const LF_UNION: Leaf
pub const LF_ENUM: Leaf
pub const LF_DIMARRAY: Leaf
pub const LF_PRECOMP: Leaf
pub const LF_ALIAS: Leaf
pub const LF_DEFARG: Leaf
pub const LF_FRIENDFCN: Leaf
pub const LF_MEMBER: Leaf
pub const LF_STMEMBER: Leaf
pub const LF_METHOD: Leaf
pub const LF_NESTEDTYPE: Leaf
pub const LF_ONEMETHOD: Leaf
pub const LF_NESTEDTYPEEX: Leaf
pub const LF_MANAGED: Leaf
pub const LF_TYPESERVER2: Leaf
pub const LF_INTERFACE: Leaf
pub const LF_VFTABLE: Leaf
pub const LF_FUNC_ID: Leaf
pub const LF_MFUNC_ID: Leaf
pub const LF_BUILDINFO: Leaf
pub const LF_SUBSTR_LIST: Leaf
pub const LF_STRING_ID: Leaf
pub const LF_UDT_SRC_LINE: Leaf
pub const LF_UDT_MOD_SRC_LINE: Leaf
pub const LF_CLASS2: Leaf
pub const LF_STRUCTURE2: Leaf
pub const LF_UNION2: Leaf
pub const LF_INTERFACE2: Leaf
pub const LF_CHAR: Leaf
pub const LF_SHORT: Leaf
pub const LF_USHORT: Leaf
pub const LF_LONG: Leaf
pub const LF_ULONG: Leaf
pub const LF_REAL32: Leaf
pub const LF_REAL64: Leaf
pub const LF_REAL80: Leaf
pub const LF_REAL128: Leaf
pub const LF_QUADWORD: Leaf
pub const LF_UQUADWORD: Leaf
pub const LF_REAL48: Leaf
pub const LF_COMPLEX32: Leaf
pub const LF_COMPLEX64: Leaf
pub const LF_COMPLEX80: Leaf
pub const LF_COMPLEX128: Leaf
pub const LF_VARSTRING: Leaf
pub const LF_OCTWORD: Leaf
pub const LF_UOCTWORD: Leaf
pub const LF_DECIMAL: Leaf
pub const LF_DATE: Leaf
pub const LF_UTF8STRING: Leaf
pub const LF_REAL16: Leaf
Source§impl Leaf
impl Leaf
Sourcepub fn is_immediate_numeric(self) -> bool
pub fn is_immediate_numeric(self) -> bool
True if this Leaf
codes for an immediate numeric constant.
Sourcepub fn can_start_record(self) -> bool
pub fn can_start_record(self) -> bool
Checks whether this Leaf
can be used as a type record.
Sourcepub fn is_nested_leaf(self) -> bool
pub fn is_nested_leaf(self) -> bool
Checks whether this Leaf
can be used within a field list record.
Sourcepub fn can_reference_types(self) -> bool
pub fn can_reference_types(self) -> bool
Indicates whether a given type record can contain references to other type records.
Trait Implementations§
Source§impl Ord for Leaf
impl Ord for Leaf
Source§impl PartialOrd for Leaf
impl PartialOrd for Leaf
impl Copy for Leaf
impl Eq for Leaf
impl StructuralPartialEq for Leaf
Auto Trait Implementations§
impl Freeze for Leaf
impl RefUnwindSafe for Leaf
impl Send for Leaf
impl Sync for Leaf
impl Unpin for Leaf
impl UnwindSafe for Leaf
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