pub struct TypeDefinition<'a> {
pub offset: usize,
pub name: &'a str,
pub trailing_code: u8,
pub registry_suffix: &'a [u8],
}Expand description
One length-framed NX object-model class definition.
Fields§
§offset: usizeAbsolute byte offset of the definition’s length byte.
name: &'a strRegistered UGS:: class name.
trailing_code: u8Declaration code following the name.
registry_suffix: &'a [u8]Bytes between this declaration core and the next class declaration.
Trait Implementations§
Source§impl<'a> Clone for TypeDefinition<'a>
impl<'a> Clone for TypeDefinition<'a>
Source§fn clone(&self) -> TypeDefinition<'a>
fn clone(&self) -> TypeDefinition<'a>
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 moreSource§impl<'a> Debug for TypeDefinition<'a>
impl<'a> Debug for TypeDefinition<'a>
impl<'a> Eq for TypeDefinition<'a>
Source§impl<'a> PartialEq for TypeDefinition<'a>
impl<'a> PartialEq for TypeDefinition<'a>
impl<'a> StructuralPartialEq for TypeDefinition<'a>
Auto Trait Implementations§
impl<'a> Freeze for TypeDefinition<'a>
impl<'a> RefUnwindSafe for TypeDefinition<'a>
impl<'a> Send for TypeDefinition<'a>
impl<'a> Sync for TypeDefinition<'a>
impl<'a> Unpin for TypeDefinition<'a>
impl<'a> UnsafeUnpin for TypeDefinition<'a>
impl<'a> UnwindSafe for TypeDefinition<'a>
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