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

#[repr(C)]
pub struct FileBlock { pub code: [u8; 4], pub size: i32, pub address: u64, pub sdna_index: i32, pub count: i32, pub data: Vec<u8, Global>, }

Fields

code: [u8; 4]size: i32address: u64sdna_index: i32count: i32data: Vec<u8, Global>

Implementations

impl FileBlock[src]

pub fn parse<R>(
    file: &mut R,
    pointer_size: u8
) -> Result<Option<FileBlock>, Error> where
    R: Read
[src]

pub fn code(&self) -> &str[src]

pub fn object(&'a self, file_db: FileDb<'a>) -> Object<'a>[src]

pub fn slice(
    &'a self,
    dim: usize,
    file_db: FileDb<'a>
) -> Vec<Object<'a>, Global>

Notable traits for Vec<u8, A>

impl<A> Write for Vec<u8, A> where
    A: Allocator
[src]

pub fn data_slice<T>(&self, len: usize) -> Result<&[T], Error>[src]

pub fn size(&self) -> usize[src]

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

Notable traits for &'_ mut [u8]

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

pub fn cast<T>(&self) -> Result<&T, Error>[src]

Trait Implementations

impl Clone for FileBlock[src]

impl Debug for FileBlock[src]

Auto Trait Implementations

impl RefUnwindSafe for FileBlock

impl Send for FileBlock

impl Sync for FileBlock

impl Unpin for FileBlock

impl UnwindSafe for FileBlock

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]