pub struct LedgerPosture {
pub movement: PresenceMovement,
pub delta: PostureDelta,
}Expand description
Orthogonal movement and posture delta for a ledger-state projection.
Fields§
§movement: PresenceMovement§delta: PostureDeltaImplementations§
Source§impl LedgerPosture
impl LedgerPosture
pub const fn new(movement: PresenceMovement, delta: PostureDelta) -> Self
Sourcepub fn movement_projection(self, touched_in_diff: bool) -> &'static str
pub fn movement_projection(self, touched_in_diff: bool) -> &'static str
PR-summary movement projection honoring touched_in_diff attribution.
Trait Implementations§
Source§impl Clone for LedgerPosture
impl Clone for LedgerPosture
Source§fn clone(&self) -> LedgerPosture
fn clone(&self) -> LedgerPosture
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LedgerPosture
Source§impl Debug for LedgerPosture
impl Debug for LedgerPosture
impl Eq for LedgerPosture
Source§impl PartialEq for LedgerPosture
impl PartialEq for LedgerPosture
impl StructuralPartialEq for LedgerPosture
Auto Trait Implementations§
impl Freeze for LedgerPosture
impl RefUnwindSafe for LedgerPosture
impl Send for LedgerPosture
impl Sync for LedgerPosture
impl Unpin for LedgerPosture
impl UnsafeUnpin for LedgerPosture
impl UnwindSafe for LedgerPosture
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