Struct two_sided_vec::raw::Capacity
[−]
[src]
pub struct Capacity {
pub back: usize,
pub front: usize,
}Fields
back: usize
front: usize
Methods
impl Capacity[src]
pub fn empty() -> Self[src]
pub fn checked_total(&self) -> usize[src]
pub fn total(&self) -> usize[src]
pub fn can_fit(&self, other: Capacity) -> bool[src]
pub fn is_empty(&self) -> bool[src]
Trait Implementations
impl Copy for Capacity[src]
impl Clone for Capacity[src]
fn clone(&self) -> Capacity[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for Capacity[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more