Struct swash::TagAndValue[][src]

pub struct TagAndValue<T: Copy> {
    pub tag: Tag,
    pub value: T,
}

Setting combining a tag and a value for features and variations.

Fields

tag: Tag

The tag for the setting.

value: T

The value for the setting.

Trait Implementations

impl<T: Clone + Copy> Clone for TagAndValue<T>[src]

impl<T: Copy> Copy for TagAndValue<T>[src]

impl<T: Debug + Copy> Debug for TagAndValue<T>[src]

impl<T: Default + Copy> Default for TagAndValue<T>[src]

impl<T: Copy> From<&'_ (&'_ [u8; 4], T)> for TagAndValue<T>[src]

impl<T: Copy> From<&'_ (&'_ str, T)> for TagAndValue<T>[src]

impl<T: Copy> From<&'_ ([u8; 4], T)> for TagAndValue<T>[src]

impl<T: Copy> From<&'_ (u32, T)> for TagAndValue<T>[src]

impl<T: Copy> From<(&'_ str, T)> for TagAndValue<T>[src]

impl<T: Copy> From<(u32, T)> for TagAndValue<T>[src]

impl<T> PartialEq<TagAndValue<T>> for TagAndValue<T> where
    T: Copy + PartialEq
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for TagAndValue<T> where
    T: RefUnwindSafe

impl<T> Send for TagAndValue<T> where
    T: Send

impl<T> Sync for TagAndValue<T> where
    T: Sync

impl<T> Unpin for TagAndValue<T> where
    T: Unpin

impl<T> UnwindSafe for TagAndValue<T> where
    T: UnwindSafe

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<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.