[][src]Enum gf::support::buffer::BufferSize

pub enum BufferSize {
    Bytes(u128),
    Pow128,
}

Buffer size.

Variants

Bytes(u128)

The buffer offsets are from 0 to this number of bytes minus one.

Pow128

The buffer offsets are from 0 to 2128 − 1.

Trait Implementations

impl<T: IntoU128> From<T> for BufferSize[src]

impl Clone for BufferSize[src]

impl Copy for BufferSize[src]

impl Eq for BufferSize[src]

impl Ord for BufferSize[src]

impl PartialEq<BufferSize> for BufferSize[src]

impl PartialOrd<BufferSize> for BufferSize[src]

impl Debug for BufferSize[src]

impl Hash for BufferSize[src]

impl StructuralPartialEq for BufferSize[src]

impl StructuralEq for BufferSize[src]

Auto Trait Implementations

impl Send for BufferSize

impl Sync for BufferSize

impl Unpin for BufferSize

impl UnwindSafe for BufferSize

impl RefUnwindSafe for BufferSize

Blanket Implementations

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

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]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]