pub struct TransitionPresentation<T: 'static, M: 'static = ()> {
pub id: T,
pub label: Option<&'static str>,
pub description: Option<&'static str>,
pub metadata: M,
}Expand description
Optional transition-level presentation metadata.
Fields§
§id: TTyped transition-site identifier.
label: Option<&'static str>Optional short human-facing transition label.
description: Option<&'static str>Optional longer human-facing transition description.
metadata: MConsumer-owned typed transition metadata.
Trait Implementations§
Source§impl<T: Clone + 'static, M: Clone + 'static> Clone for TransitionPresentation<T, M>
impl<T: Clone + 'static, M: Clone + 'static> Clone for TransitionPresentation<T, M>
Source§fn clone(&self) -> TransitionPresentation<T, M>
fn clone(&self) -> TransitionPresentation<T, M>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T: PartialEq + 'static, M: PartialEq + 'static> PartialEq for TransitionPresentation<T, M>
impl<T: PartialEq + 'static, M: PartialEq + 'static> PartialEq for TransitionPresentation<T, M>
Source§fn eq(&self, other: &TransitionPresentation<T, M>) -> bool
fn eq(&self, other: &TransitionPresentation<T, M>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<T: Copy + 'static, M: Copy + 'static> Copy for TransitionPresentation<T, M>
impl<T: Eq + 'static, M: Eq + 'static> Eq for TransitionPresentation<T, M>
impl<T: 'static, M: 'static> StructuralPartialEq for TransitionPresentation<T, M>
Auto Trait Implementations§
impl<T, M> Freeze for TransitionPresentation<T, M>
impl<T, M> RefUnwindSafe for TransitionPresentation<T, M>where
T: RefUnwindSafe,
M: RefUnwindSafe,
impl<T, M> Send for TransitionPresentation<T, M>
impl<T, M> Sync for TransitionPresentation<T, M>
impl<T, M> Unpin for TransitionPresentation<T, M>
impl<T, M> UnsafeUnpin for TransitionPresentation<T, M>where
T: UnsafeUnpin,
M: UnsafeUnpin,
impl<T, M> UnwindSafe for TransitionPresentation<T, M>where
T: UnwindSafe,
M: 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