pub struct Decorative {
pub amount: u8,
pub name: &'static str,
pub position: TilePosition,
}Fields§
§amount: u8§name: &'static str§position: TilePositionTrait Implementations§
Source§impl Clone for Decorative
impl Clone for Decorative
Source§fn clone(&self) -> Decorative
fn clone(&self) -> Decorative
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Decorative
Source§impl Debug for Decorative
impl Debug for Decorative
Source§impl Default for Decorative
impl Default for Decorative
Source§fn default() -> Decorative
fn default() -> Decorative
Returns the “default value” for a type. Read more
Source§impl PartialEq for Decorative
impl PartialEq for Decorative
impl StructuralPartialEq for Decorative
Auto Trait Implementations§
impl Freeze for Decorative
impl RefUnwindSafe for Decorative
impl Send for Decorative
impl Sync for Decorative
impl Unpin for Decorative
impl UnsafeUnpin for Decorative
impl UnwindSafe for Decorative
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