pub trait Capacity {
// Required method
fn capacity(&self) -> usize;
}Expand description
See Capacity::capacity for more information.
Required Methods§
Implementations on Foreign Types§
Source§impl<A, B, C, D, E, F, G> Capacity for (A, B, C, D, E, F, G)
impl<A, B, C, D, E, F, G> Capacity for (A, B, C, D, E, F, G)
Source§impl<A, B, C, D, E, F, G, H> Capacity for (A, B, C, D, E, F, G, H)
impl<A, B, C, D, E, F, G, H> Capacity for (A, B, C, D, E, F, G, H)
Source§impl<A, B, C, D, E, F, G, H, I> Capacity for (A, B, C, D, E, F, G, H, I)
impl<A, B, C, D, E, F, G, H, I> Capacity for (A, B, C, D, E, F, G, H, I)
Source§impl<A, B, C, D, E, F, G, H, I, J> Capacity for (A, B, C, D, E, F, G, H, I, J)
impl<A, B, C, D, E, F, G, H, I, J> Capacity for (A, B, C, D, E, F, G, H, I, J)
Source§impl<A, B, C, D, E, F, G, H, I, J, K> Capacity for (A, B, C, D, E, F, G, H, I, J, K)
impl<A, B, C, D, E, F, G, H, I, J, K> Capacity for (A, B, C, D, E, F, G, H, I, J, K)
Source§impl<A, B, C, D, E, F, G, H, I, J, K, L> Capacity for (A, B, C, D, E, F, G, H, I, J, K, L)
impl<A, B, C, D, E, F, G, H, I, J, K, L> Capacity for (A, B, C, D, E, F, G, H, I, J, K, L)
Source§impl<T> Capacity for &[T]
let structure = cl_aux::doc_tests::slice();
assert_eq!(cl_aux::Length::length(&structure), 3);
impl<T> Capacity for &[T]
let structure = cl_aux::doc_tests::slice();
assert_eq!(cl_aux::Length::length(&structure), 3);Source§impl<T> Capacity for &mut [T]
let mut structure = cl_aux::doc_tests::slice_mut!();
assert_eq!(cl_aux::Length::length(&mut structure), 3);
impl<T> Capacity for &mut [T]
let mut structure = cl_aux::doc_tests::slice_mut!();
assert_eq!(cl_aux::Length::length(&mut structure), 3);Source§impl<T, const N: usize> Capacity for [T; N]
let mut structure = cl_aux::doc_tests::array();
assert_eq!(cl_aux::Capacity::capacity(&structure), 3);
impl<T, const N: usize> Capacity for [T; N]
let mut structure = cl_aux::doc_tests::array();
assert_eq!(cl_aux::Capacity::capacity(&structure), 3);Implementors§
impl<T> Capacity for SingleItemStorage<T>
let mut structure = cl_aux::doc_tests::single_item_storage();
assert_eq!(cl_aux::Capacity::capacity(&structure), 1);