pub struct UnitAttribute {
pub attribute_type: u16,
pub amount: f32,
pub flag: u8,
}
Fields§
§attribute_type: u16
§amount: f32
§flag: u8
Implementations§
Trait Implementations§
Source§impl Clone for UnitAttribute
impl Clone for UnitAttribute
Source§fn clone(&self) -> UnitAttribute
fn clone(&self) -> UnitAttribute
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 UnitAttribute
impl Debug for UnitAttribute
Source§impl Default for UnitAttribute
impl Default for UnitAttribute
Source§fn default() -> UnitAttribute
fn default() -> UnitAttribute
Returns the “default value” for a type. Read more
impl Copy for UnitAttribute
Auto Trait Implementations§
impl Freeze for UnitAttribute
impl RefUnwindSafe for UnitAttribute
impl Send for UnitAttribute
impl Sync for UnitAttribute
impl Unpin for UnitAttribute
impl UnwindSafe for UnitAttribute
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