pub struct PieceCount {
pub p1_flat: usize,
pub p1_cap: usize,
pub p2_flat: usize,
pub p2_cap: usize,
pub max_flat: usize,
pub max_cap: usize,
}
Fields§
§p1_flat: usize
§p1_cap: usize
§p2_flat: usize
§p2_cap: usize
§max_flat: usize
§max_cap: usize
Implementations§
Trait Implementations§
Source§impl Clone for PieceCount
impl Clone for PieceCount
Source§fn clone(&self) -> PieceCount
fn clone(&self) -> PieceCount
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PieceCount
impl Debug for PieceCount
Source§impl Decodable for PieceCount
impl Decodable for PieceCount
Source§impl Encodable for PieceCount
impl Encodable for PieceCount
impl Copy for PieceCount
Auto Trait Implementations§
impl Freeze for PieceCount
impl RefUnwindSafe for PieceCount
impl Send for PieceCount
impl Sync for PieceCount
impl Unpin for PieceCount
impl UnwindSafe for PieceCount
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)