[][src]Struct gf::pivot::metadata::Metadata

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

🟢 Metadata in a sealed module.

Implementations

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

pub unsafe fn from_unsealed(
    module: &'a Module,
    unsealed: &'a UnsealedMetadata
) -> Self
[src]

Wrap unsealed metadata.

pub fn module(&self) -> &'a Module[src]

Return parent module.

pub fn as_unsealed(&self) -> &'a UnsealedMetadata[src]

Return the unsealed metadata.

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

Return object name.

pub fn get(&self, key: &str) -> Vec<&'a BitVec>[src]

Return values for key.

pub fn get_str(&self, key: &str) -> Vec<Result<&'a str, Utf8Error>>[src]

Return UTF-8 strings for key.

pub fn get_constants(&self, key: &str) -> Vec<Constant<'a>>[src]

Return constants for key.

Trait Implementations

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

impl<'a> Copy for Metadata<'a>[src]

impl<'a> Eq for Metadata<'a>[src]

impl<'a> Hash for Metadata<'a>[src]

impl<'a> PartialEq<Metadata<'a>> for Metadata<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Metadata<'a>

impl<'a> Send for Metadata<'a>

impl<'a> Sync for Metadata<'a>

impl<'a> Unpin for Metadata<'a>

impl<'a> UnwindSafe for Metadata<'a>

Blanket Implementations

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

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

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

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.