Struct solana_vote_program::vote_state::CircBuf[][src]

pub struct CircBuf<I> { /* fields omitted */ }

Implementations

impl<I> CircBuf<I>[src]

pub fn append(&mut self, item: I)[src]

pub fn buf(&self) -> &[I; 32][src]

pub fn last(&self) -> Option<&I>[src]

Trait Implementations

impl<I: Clone> Clone for CircBuf<I>[src]

impl<I: Debug> Debug for CircBuf<I>[src]

impl<I: Default + Copy> Default for CircBuf<I>[src]

impl<'de, I> Deserialize<'de> for CircBuf<I> where
    I: Deserialize<'de>, 
[src]

impl<I: Eq> Eq for CircBuf<I>[src]

impl<I: PartialEq> PartialEq<CircBuf<I>> for CircBuf<I>[src]

impl<I> Serialize for CircBuf<I> where
    I: Serialize
[src]

impl<I> StructuralEq for CircBuf<I>[src]

impl<I> StructuralPartialEq for CircBuf<I>[src]

Auto Trait Implementations

impl<I> RefUnwindSafe for CircBuf<I> where
    I: RefUnwindSafe

impl<I> Send for CircBuf<I> where
    I: Send

impl<I> Sync for CircBuf<I> where
    I: Sync

impl<I> Unpin for CircBuf<I> where
    I: Unpin

impl<I> UnwindSafe for CircBuf<I> where
    I: UnwindSafe

Blanket Implementations

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> MaybeDebug for T where
    T: Debug
[src]

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

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

type Output = T

Should always be Self

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> Typeable for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]