ID

Struct ID 

Source
#[repr(C, packed(4))]
pub struct ID {
Show 20 fields pub next: Pointer<Void>, pub prev: Pointer<Void>, pub newid: Pointer<ID>, pub lib: Pointer<Library>, pub asset_data: Pointer<AssetMetaData>, pub name: [i8; 66], pub flag: i16, pub tag: i32, pub us: i32, pub icon_id: i32, pub recalc: i32, pub recalc_up_to_undo_push: i32, pub recalc_after_undo_push: i32, pub session_uuid: i32, pub properties: Pointer<IDProperty>, pub override_library: Pointer<IDOverrideLibrary>, pub orig_id: Pointer<ID>, pub py_instance: Pointer<Void>, pub library_weak_reference: Pointer<LibraryWeakReference>, pub runtime: ID_Runtime,
}

Fields§

§next: Pointer<Void>§prev: Pointer<Void>§newid: Pointer<ID>§lib: Pointer<Library>§asset_data: Pointer<AssetMetaData>§name: [i8; 66]§flag: i16§tag: i32§us: i32§icon_id: i32§recalc: i32§recalc_up_to_undo_push: i32§recalc_after_undo_push: i32§session_uuid: i32§properties: Pointer<IDProperty>§override_library: Pointer<IDOverrideLibrary>§orig_id: Pointer<ID>§py_instance: Pointer<Void>§library_weak_reference: Pointer<LibraryWeakReference>§runtime: ID_Runtime

Trait Implementations§

Auto Trait Implementations§

§

impl Freeze for ID

§

impl RefUnwindSafe for ID

§

impl Send for ID

§

impl Sync for ID

§

impl Unpin for ID

§

impl UnwindSafe for ID

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.