pub struct ResonanceEvent { /* private fields */ }Expand description
Resonance event for temporal anchoring
Implementations§
Source§impl ResonanceEvent
impl ResonanceEvent
pub fn new() -> Self
pub fn with_causal_context(self, context: Vec<AnchorId>) -> Self
pub fn with_commitment(self, commitment: CommitmentId) -> Self
pub fn causal_context(&self) -> &[AnchorId]
pub fn commitment_id(&self) -> Option<CommitmentId>
Trait Implementations§
Source§impl Clone for ResonanceEvent
impl Clone for ResonanceEvent
Source§fn clone(&self) -> ResonanceEvent
fn clone(&self) -> ResonanceEvent
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 Debug for ResonanceEvent
impl Debug for ResonanceEvent
Auto Trait Implementations§
impl Freeze for ResonanceEvent
impl RefUnwindSafe for ResonanceEvent
impl Send for ResonanceEvent
impl Sync for ResonanceEvent
impl Unpin for ResonanceEvent
impl UnwindSafe for ResonanceEvent
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