pub struct Transition {
pub before: Option<LayerResult>,
pub after: LayerResult,
}
Expand description
A Transition is the LayerResult of running the command on the lower layer and of running the command on the higher layer. No-op transitions are not recorded.
Fields§
§before: Option<LayerResult>
§after: LayerResult
Trait Implementations§
Source§impl Debug for Transition
impl Debug for Transition
Source§impl Display for Transition
impl Display for Transition
Source§impl Ord for Transition
impl Ord for Transition
Source§fn cmp(&self, other: &Transition) -> Ordering
fn cmp(&self, other: &Transition) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Transition
impl PartialEq for Transition
Source§impl PartialOrd for Transition
impl PartialOrd for Transition
impl Eq for Transition
impl StructuralPartialEq for Transition
Auto Trait Implementations§
impl Freeze for Transition
impl RefUnwindSafe for Transition
impl Send for Transition
impl Sync for Transition
impl Unpin for Transition
impl UnwindSafe for Transition
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