Struct webrender_api::display_item::OpacityPrimitive
source · #[repr(C)]pub struct OpacityPrimitive {
pub input: FilterPrimitiveInput,
pub opacity: f32,
}
Fields§
§input: FilterPrimitiveInput
§opacity: f32
Implementations§
Trait Implementations§
source§impl Clone for OpacityPrimitive
impl Clone for OpacityPrimitive
source§fn clone(&self) -> OpacityPrimitive
fn clone(&self) -> OpacityPrimitive
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 OpacityPrimitive
impl Debug for OpacityPrimitive
source§impl Default for OpacityPrimitive
impl Default for OpacityPrimitive
source§fn default() -> OpacityPrimitive
fn default() -> OpacityPrimitive
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for OpacityPrimitive
impl<'de> Deserialize<'de> for OpacityPrimitive
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 OpacityPrimitive
impl PartialEq for OpacityPrimitive
source§impl Peek for OpacityPrimitive
impl Peek for OpacityPrimitive
source§impl Poke for OpacityPrimitive
impl Poke for OpacityPrimitive
source§impl Serialize for OpacityPrimitive
impl Serialize for OpacityPrimitive
impl Copy for OpacityPrimitive
impl StructuralPartialEq for OpacityPrimitive
Auto Trait Implementations§
impl Freeze for OpacityPrimitive
impl RefUnwindSafe for OpacityPrimitive
impl Send for OpacityPrimitive
impl Sync for OpacityPrimitive
impl Unpin for OpacityPrimitive
impl UnwindSafe for OpacityPrimitive
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)