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