pub enum TreePoint {
Now,
Revision(EntityId),
AsOf(u64),
}Expand description
A point of a tree’s history to read it at.
Variants§
Now
As the library has it now.
Revision(EntityId)
As a revision’s author had it: the state of its commit’s parts and of the changes they build on, so that changes made meanwhile on other devices do not slip in.
AsOf(u64)
As the library had recorded it by a moment, in milliseconds since 1970; or, if a commit’s parts were recorded both by it and after it, as it had by the moment before that commit, which a view of a moment never shows in part.
Trait Implementations§
impl Copy for TreePoint
impl Eq for TreePoint
impl StructuralPartialEq for TreePoint
Auto Trait Implementations§
impl Forget for TreePoint
impl Freeze for TreePoint
impl Move for TreePoint
impl RefUnwindSafe for TreePoint
impl Send for TreePoint
impl Sync for TreePoint
impl Unpin for TreePoint
impl UnsafeUnpin for TreePoint
impl UnwindSafe for TreePoint
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.