Struct two_sided_vec::raw::Capacity [−][src]
Fields
back: usize
front: usize
Methods
impl Capacity[src]
impl Capacitypub fn empty() -> Self[src]
pub fn empty() -> Selfpub fn checked_total(&self) -> usize[src]
pub fn checked_total(&self) -> usizepub fn total(&self) -> usize[src]
pub fn total(&self) -> usizepub fn can_fit(&self, other: Capacity) -> bool[src]
pub fn can_fit(&self, other: Capacity) -> boolpub fn is_empty(&self) -> bool[src]
pub fn is_empty(&self) -> boolTrait Implementations
impl Copy for Capacity[src]
impl Copy for Capacityimpl Clone for Capacity[src]
impl Clone for Capacityfn clone(&self) -> Capacity[src]
fn clone(&self) -> CapacityReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for Capacity[src]
impl Debug for Capacityfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Add for Capacity[src]
impl Add for Capacity