MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / fmt

Method fmt

atomic-core/src/crdt/apply/order.rs:92–98  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

90
91impl fmt::Display for InsertPosition {
92 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
93 match self {
94 InsertPosition::Start => write!(f, "start"),
95 InsertPosition::After(idx) => write!(f, "after index {}", idx),
96 InsertPosition::End => write!(f, "end"),
97 }
98 }
99}
100
101// CrdtOrdering Trait

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected