Struct rin::blender::scene_data::blender::Object[][src]

pub struct Object<'a> { /* fields omitted */ }

Implementations

impl<'a> Object<'a>[src]

pub fn new(file_db: FileDb<'a>, block: &'a FileBlock) -> Object<'a>[src]

pub fn new_with_index(
    file_db: FileDb<'a>,
    block: &'a FileBlock,
    index: usize
) -> Object<'a>
[src]

pub fn cast_to(self, structure: &'a str) -> Result<Object<'a>, Error>[src]

pub fn addr(&self) -> u64[src]

pub fn data(&self) -> &'a [u8]

Notable traits for &'_ mut [u8]

impl<'_> Write for &'_ mut [u8]impl<'_> Read for &'_ [u8]
[src]

pub fn get<T>(&self, field_name: &str) -> Result<&'a T, Error>[src]

pub unsafe fn get_contiguous<T>(&self, field_name: &str) -> Result<&'a T, Error>[src]

pub fn read_field(&self, field_name: &str) -> Result<&'a [u8], Error>[src]

pub unsafe fn read_size(
    &self,
    field_name: &str,
    field_size: usize
) -> Result<&'a [u8], Error>
[src]

pub fn get_object(&self, field_name: &str) -> Result<Object<'a>, Error>[src]

pub fn get_str(&self, field_name: &str) -> Result<&'a str, Error>[src]

pub fn get_addr(&self, field_name: &str) -> Result<u64, Error>[src]

pub fn get_slice<T>(&self, field_name: &str) -> Result<&'a [T], Error>[src]

pub fn get_data_slice<T>(
    &self,
    field_name: &str,
    len: usize
) -> Result<&'a [T], Error>
[src]

pub fn get_vec<T>(
    &self,
    field_name: &str,
    len: usize
) -> Result<Vec<T, Global>, Error> where
    T: Clone
[src]

pub fn get_object_slice(
    &self,
    field_name: &str
) -> Result<Vec<Object<'a>, Global>, Error>
[src]

pub fn get_ptr_slice(
    &self,
    field_name: &str,
    len: usize
) -> Result<Vec<Object<'a>, Global>, Error>
[src]

pub fn get_object_at(
    &self,
    field_name: &str,
    at: usize
) -> Result<Object<'a>, Error>
[src]

pub fn get_list(&self, field_name: &str) -> Result<List<'a>, Error>[src]

pub fn structure(&self) -> &Structure[src]

pub fn name(&self) -> Result<&'a str, Error>[src]

pub fn file_block(&self) -> &FileBlock[src]

pub fn custom_properties(&self) -> Option<Group<'a>>[src]

pub fn children(&self) -> impl Iterator<Item = Object<'_>>[src]

Trait Implementations

impl<'a> Clone for Object<'a>[src]

impl<'a> Debug for Object<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Object<'a>

impl<'a> Send for Object<'a>

impl<'a> Sync for Object<'a>

impl<'a> Unpin for Object<'a>

impl<'a> UnwindSafe for Object<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Any + Send + Sync
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<V> IntoPnt<V> for V[src]

impl<V> IntoVec<V> for V[src]

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]