Collection

Struct Collection 

Source
#[repr(C, packed(4))]
pub struct Collection {
Show 18 fields pub id: ID, pub gobject: ListBase, pub children: ListBase, pub preview: Pointer<PreviewImage>, pub layer: i32, pub dupli_ofs: [f32; 3], pub flag: i16, pub tag: i16, pub lineart_usage: i16, pub lineart_flags: i8, pub lineart_intersection_mask: i8, pub _pad: [i8; 6], pub color_tag: i16, pub object_cache: ListBase, pub object_cache_instanced: ListBase, pub parents: ListBase, pub collection: Pointer<SceneCollection>, pub view_layer: Pointer<ViewLayer>,
}

Fields§

§id: ID§gobject: ListBase§children: ListBase§preview: Pointer<PreviewImage>§layer: i32§dupli_ofs: [f32; 3]§flag: i16§tag: i16§lineart_usage: i16§lineart_flags: i8§lineart_intersection_mask: i8§_pad: [i8; 6]§color_tag: i16§object_cache: ListBase§object_cache_instanced: ListBase§parents: ListBase§collection: Pointer<SceneCollection>§view_layer: Pointer<ViewLayer>

Trait Implementations§

Auto Trait Implementations§

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.