Struct rgb::prelude::Metadata [−][src]
pub struct Metadata(_);
Expand description
Transition & genesis metadata fields
Implementations
impl Metadata
[src]
impl Metadata
[src]pub fn u8(&self, field_type: FieldType) -> Vec<u8>
[src]
pub fn u16(&self, field_type: FieldType) -> Vec<u16>
[src]
pub fn u32(&self, field_type: FieldType) -> Vec<u32>
[src]
pub fn u64(&self, field_type: FieldType) -> Vec<u64>
[src]
pub fn i8(&self, field_type: FieldType) -> Vec<i8>
[src]
pub fn i16(&self, field_type: FieldType) -> Vec<i16>
[src]
pub fn i32(&self, field_type: FieldType) -> Vec<i32>
[src]
pub fn i64(&self, field_type: FieldType) -> Vec<i64>
[src]
pub fn f32(&self, field_type: FieldType) -> Vec<f32>
[src]
pub fn f64(&self, field_type: FieldType) -> Vec<f64>
[src]
pub fn bytes(&self, field_type: FieldType) -> Vec<Vec<u8>>
[src]
pub fn string(&self, field_type: FieldType) -> Vec<String>
[src]
Trait Implementations
impl BorrowMut<<Metadata as Wrapper>::Inner> for Metadata
[src]
impl BorrowMut<<Metadata as Wrapper>::Inner> for Metadata
[src]fn borrow_mut(&mut self) -> &mut Self::Inner
[src]
fn borrow_mut(&mut self) -> &mut Self::Inner
[src]Mutably borrows from an owned value. Read more
impl<'de> Deserialize<'de> for Metadata
[src]
impl<'de> Deserialize<'de> for Metadata
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl IntoIterator for Metadata
[src]
impl IntoIterator for Metadata
[src]impl StrictDecode for Metadata
[src]
impl StrictDecode for Metadata
[src]impl StrictEncode for Metadata
[src]
impl StrictEncode for Metadata
[src]impl Wrapper for Metadata
[src]
impl Wrapper for Metadata
[src]fn from_inner(inner: Self::Inner) -> Self
[src]
fn from_inner(inner: Self::Inner) -> Self
[src]Instantiates wrapper type with the inner data
fn as_inner(&self) -> &Self::Inner
[src]
fn as_inner(&self) -> &Self::Inner
[src]Returns reference to the inner representation for the wrapper type
fn as_inner_mut(&mut self) -> &mut Self::Inner
[src]
fn as_inner_mut(&mut self) -> &mut Self::Inner
[src]Returns a mutable reference to the inner representation for the wrapper type Read more
fn into_inner(self) -> Self::Inner
[src]
fn into_inner(self) -> Self::Inner
[src]Unwraps the wrapper returning the inner type
impl Eq for Metadata
[src]
impl StructuralEq for Metadata
[src]
impl StructuralPartialEq for Metadata
[src]
Auto Trait Implementations
impl RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnwindSafe for Metadata
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,