[][src]Struct gluon_base::pos::Positioned

pub struct Positioned<T, Pos> {
    pub pos: Pos,
    pub value: T,
}

Fields

pos: Posvalue: T

Trait Implementations

impl<T: Clone, Pos: Clone> Clone for Positioned<T, Pos>[src]

impl<T: Copy, Pos: Copy> Copy for Positioned<T, Pos>[src]

impl<T: Debug, Pos: Debug> Debug for Positioned<T, Pos>[src]

impl<T: Default, Pos: Default> Default for Positioned<T, Pos>[src]

impl<T: Eq, Pos: Eq> Eq for Positioned<T, Pos>[src]

impl<T: Hash, Pos: Hash> Hash for Positioned<T, Pos>[src]

impl<T: PartialEq, Pos: PartialEq> PartialEq<Positioned<T, Pos>> for Positioned<T, Pos>[src]

impl<T, Pos> StructuralEq for Positioned<T, Pos>[src]

impl<T, Pos> StructuralPartialEq for Positioned<T, Pos>[src]

Auto Trait Implementations

impl<T, Pos> RefUnwindSafe for Positioned<T, Pos> where
    Pos: RefUnwindSafe,
    T: RefUnwindSafe

impl<T, Pos> Send for Positioned<T, Pos> where
    Pos: Send,
    T: Send

impl<T, Pos> Sync for Positioned<T, Pos> where
    Pos: Sync,
    T: Sync

impl<T, Pos> Unpin for Positioned<T, Pos> where
    Pos: Unpin,
    T: Unpin

impl<T, Pos> UnwindSafe for Positioned<T, Pos> where
    Pos: UnwindSafe,
    T: UnwindSafe

Blanket Implementations

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

impl<Id> AsId<Id> for Id where
    Id: ?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.