Struct two_sided_vec::raw::Capacity [−][src]
Fields
back: usize
front: usize
Methods
impl Capacity
[src]
impl Capacity
pub fn empty() -> Self
[src]
pub fn empty() -> Self
pub fn checked_total(&self) -> usize
[src]
pub fn checked_total(&self) -> usize
pub fn total(&self) -> usize
[src]
pub fn total(&self) -> usize
pub fn can_fit(&self, other: Capacity) -> bool
[src]
pub fn can_fit(&self, other: Capacity) -> bool
pub fn is_empty(&self) -> bool
[src]
pub fn is_empty(&self) -> bool
Trait Implementations
impl Copy for Capacity
[src]
impl Copy for Capacity
impl Clone for Capacity
[src]
impl Clone for Capacity
fn clone(&self) -> Capacity
[src]
fn clone(&self) -> Capacity
Returns 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 Capacity
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Add for Capacity
[src]
impl Add for Capacity