[−][src]Struct blend::runtime::FieldTemplate
Represents a field inside a struct. The data FieldTemplate
keeps is used to interpret the raw bytes of the block.
Fields
info: FieldInfo
type_index: usize
The index of this field's type inside the Dna::types
array.
type_name: String
The type name of this field. Used for pretty printing and some sanity checks.
data_start: usize
The index of the data in the Instance
owned by this field.
data_len: usize
The length in bytes of the data in the Instance
owned by this field.
is_primitive: bool
A field can represent a primitive or a struct.
Trait Implementations
impl Clone for FieldTemplate
[src]
fn clone(&self) -> FieldTemplate
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for FieldTemplate
[src]
Auto Trait Implementations
impl Send for FieldTemplate
impl Unpin for FieldTemplate
impl Sync for FieldTemplate
impl UnwindSafe for FieldTemplate
impl RefUnwindSafe for FieldTemplate
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,