Fields
color: Color
role: Role
Implementations
Trait Implementations
sourceimpl Extend<Piece> for Material
impl Extend<Piece> for Material
sourcefn extend<T: IntoIterator<Item = Piece>>(&mut self, iter: T)
fn extend<T: IntoIterator<Item = Piece>>(&mut self, iter: T)
Extends a collection with the contents of an iterator. Read more
sourcefn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
sourcefn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
sourceimpl FromIterator<Piece> for Material
impl FromIterator<Piece> for Material
sourcefn from_iter<T>(iter: T) -> Selfwhere
T: IntoIterator<Item = Piece>,
fn from_iter<T>(iter: T) -> Selfwhere
T: IntoIterator<Item = Piece>,
Creates a value from an iterator. Read more
impl Copy for Piece
impl Eq for Piece
impl StructuralEq for Piece
impl StructuralPartialEq for Piece
Auto Trait Implementations
impl RefUnwindSafe for Piece
impl Send for Piece
impl Sync for Piece
impl Unpin for Piece
impl UnwindSafe for Piece
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more