pub struct FramePair<Parent: FrameId, Child: FrameId> {
pub parent: PhantomData<Parent>,
pub child: PhantomData<Child>,
}
Expand description
A transform relationship between two specific frame types
Fields§
§parent: PhantomData<Parent>
Parent frame type
child: PhantomData<Child>
Child frame type
Implementations§
Trait Implementations§
Source§impl<Parent: PartialEq + FrameId, Child: PartialEq + FrameId> PartialEq for FramePair<Parent, Child>
impl<Parent: PartialEq + FrameId, Child: PartialEq + FrameId> PartialEq for FramePair<Parent, Child>
impl<Parent: Copy + FrameId, Child: Copy + FrameId> Copy for FramePair<Parent, Child>
impl<Parent: Eq + FrameId, Child: Eq + FrameId> Eq for FramePair<Parent, Child>
impl<Parent: FrameId, Child: FrameId> StructuralPartialEq for FramePair<Parent, Child>
Auto Trait Implementations§
impl<Parent, Child> Freeze for FramePair<Parent, Child>
impl<Parent, Child> RefUnwindSafe for FramePair<Parent, Child>where
Parent: RefUnwindSafe,
Child: RefUnwindSafe,
impl<Parent, Child> Send for FramePair<Parent, Child>
impl<Parent, Child> Sync for FramePair<Parent, Child>
impl<Parent, Child> Unpin for FramePair<Parent, Child>
impl<Parent, Child> UnwindSafe for FramePair<Parent, Child>where
Parent: UnwindSafe,
Child: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more