[−][src]Struct ron_crdt::heap::Heap
Am Iterator heap of Frames.
Methods
impl<'a, T> Heap<T> where
T: FrameOrd<'a> + Debug,
[src]
T: FrameOrd<'a> + Debug,
pub fn new(batch: Vec<Frame<'a>>) -> Self
[src]
Create a new Heap from batch
.
pub fn top<'b>(&'b self) -> Option<&'b Op>
[src]
Returns the smallest of all initial Ops of all Frames.
pub fn pop(&mut self) -> Option<Op>
[src]
Returns and removes the smallest of all initial Ops of all Frames.
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,