[][src]Struct leaves::segment::SegmentBuffer

pub struct SegmentBuffer {
    pub init_ok: bool,
    pub next_ready: bool,
    pub tag: u32,
    // some fields omitted
}

Fields

init_ok: boolnext_ready: booltag: u32

Methods

impl SegmentBuffer[src]

pub fn new(tag: u32) -> Self[src]

pub fn current(&self) -> &Segment[src]

pub fn current_mut(&mut self) -> &mut Segment[src]

pub fn current_idx(&self) -> usize[src]

pub fn next(&self) -> &Segment[src]

pub fn next_mut(&mut self) -> &mut Segment[src]

pub fn next_idx(&self) -> usize[src]

pub fn switch(&mut self)[src]

Trait Implementations

impl Debug for SegmentBuffer[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]