pub struct ScanEventPlanetMaterial {
pub name: Material,
pub percent: f32,
}
Fields§
§name: Material
§percent: f32
Trait Implementations§
Source§impl Clone for ScanEventPlanetMaterial
impl Clone for ScanEventPlanetMaterial
Source§fn clone(&self) -> ScanEventPlanetMaterial
fn clone(&self) -> ScanEventPlanetMaterial
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 ScanEventPlanetMaterial
impl Debug for ScanEventPlanetMaterial
Source§impl<'de> Deserialize<'de> for ScanEventPlanetMaterial
impl<'de> Deserialize<'de> for ScanEventPlanetMaterial
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ScanEventPlanetMaterial
impl PartialEq for ScanEventPlanetMaterial
Source§impl Serialize for ScanEventPlanetMaterial
impl Serialize for ScanEventPlanetMaterial
impl StructuralPartialEq for ScanEventPlanetMaterial
Auto Trait Implementations§
impl Freeze for ScanEventPlanetMaterial
impl RefUnwindSafe for ScanEventPlanetMaterial
impl Send for ScanEventPlanetMaterial
impl Sync for ScanEventPlanetMaterial
impl Unpin for ScanEventPlanetMaterial
impl UnwindSafe for ScanEventPlanetMaterial
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