Struct webrender_api::FloodPrimitive
source · #[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§fn eq(&self, other: &FloodPrimitive) -> bool
fn eq(&self, other: &FloodPrimitive) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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