Struct guppy::graph::feature::FeatureMetadata[][src]

pub struct FeatureMetadata<'g> { /* fields omitted */ }

Metadata for a feature within a package.

Implementations

impl<'g> FeatureMetadata<'g>[src]

pub fn feature_id(&self) -> FeatureId<'g>[src]

Returns the feature ID corresponding to this metadata.

pub fn package_id(&self) -> &'g PackageId[src]

Returns the package ID corresponding to this metadata.

pub fn package(&self) -> PackageMetadata<'g>[src]

Returns the package metadata corresponding to this feature metadata.

pub fn feature_type(&self) -> FeatureType[src]

Returns the type of this feature.

Trait Implementations

impl<'g> Clone for FeatureMetadata<'g>[src]

impl<'g> Copy for FeatureMetadata<'g>[src]

impl<'g> Debug for FeatureMetadata<'g>[src]

Auto Trait Implementations

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<'a, T> DefaultFeatures<'a> for T where
    T: 'a + Clone + Send + Sync
[src]

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

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

impl<'a, T> NonSyncFeatures<'a> for T where
    T: 'a + Clone
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> SafeBorrow<T> for T where
    T: ?Sized
[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>,