#[repr(C)]pub struct FloodPrimitive {
pub color: ColorF,
}
Fields§
§color: ColorF
Implementations§
Trait Implementations§
Source§impl Clone for FloodPrimitive
impl Clone for FloodPrimitive
Source§fn clone(&self) -> FloodPrimitive
fn clone(&self) -> FloodPrimitive
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 FloodPrimitive
impl Debug for FloodPrimitive
Source§impl Default for FloodPrimitive
impl Default for FloodPrimitive
Source§fn default() -> FloodPrimitive
fn default() -> FloodPrimitive
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FloodPrimitive
impl<'de> Deserialize<'de> for FloodPrimitive
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 FloodPrimitive
impl PartialEq for FloodPrimitive
Source§impl Peek for FloodPrimitive
impl Peek for FloodPrimitive
Source§impl Poke for FloodPrimitive
impl Poke for FloodPrimitive
Source§impl Serialize for FloodPrimitive
impl Serialize for FloodPrimitive
impl Copy for FloodPrimitive
impl StructuralPartialEq for FloodPrimitive
Auto Trait Implementations§
impl Freeze for FloodPrimitive
impl RefUnwindSafe for FloodPrimitive
impl Send for FloodPrimitive
impl Sync for FloodPrimitive
impl Unpin for FloodPrimitive
impl UnwindSafe for FloodPrimitive
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