[][src]Struct leaves::segment::Segment

pub struct Segment {
    pub val: AtomicU64,
    pub max: u64,
    pub step: u32,
}

Fields

val: AtomicU64max: u64step: u32

Methods

impl Segment[src]

pub fn new(val: u64, max: u64, step: u32) -> Self[src]

pub fn idle(&self) -> u64[src]

Trait Implementations

impl Default for Segment[src]

impl Debug for Segment[src]

impl Display for Segment[src]

Auto Trait Implementations

impl Send for Segment

impl Sync for Segment

impl Unpin for Segment

impl UnwindSafe for Segment

impl RefUnwindSafe for Segment

Blanket Implementations

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

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

impl<T> ToString for T where
    T: Display + ?Sized
[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]