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