Struct webrender_api::ReferenceFrameDescriptor
source · pub struct ReferenceFrameDescriptor {
pub origin: LayoutPoint,
pub parent_spatial_id: SpatialId,
pub reference_frame: ReferenceFrame,
}
Fields§
§origin: LayoutPoint
§parent_spatial_id: SpatialId
§reference_frame: ReferenceFrame
Trait Implementations§
source§impl Clone for ReferenceFrameDescriptor
impl Clone for ReferenceFrameDescriptor
source§fn clone(&self) -> ReferenceFrameDescriptor
fn clone(&self) -> ReferenceFrameDescriptor
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 ReferenceFrameDescriptor
impl Debug for ReferenceFrameDescriptor
source§impl Default for ReferenceFrameDescriptor
impl Default for ReferenceFrameDescriptor
source§fn default() -> ReferenceFrameDescriptor
fn default() -> ReferenceFrameDescriptor
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ReferenceFrameDescriptor
impl<'de> Deserialize<'de> for ReferenceFrameDescriptor
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 ReferenceFrameDescriptor
impl PartialEq for ReferenceFrameDescriptor
source§impl Peek for ReferenceFrameDescriptor
impl Peek for ReferenceFrameDescriptor
source§impl Poke for ReferenceFrameDescriptor
impl Poke for ReferenceFrameDescriptor
source§impl Serialize for ReferenceFrameDescriptor
impl Serialize for ReferenceFrameDescriptor
impl Copy for ReferenceFrameDescriptor
impl StructuralPartialEq for ReferenceFrameDescriptor
Auto Trait Implementations§
impl Freeze for ReferenceFrameDescriptor
impl RefUnwindSafe for ReferenceFrameDescriptor
impl Send for ReferenceFrameDescriptor
impl Sync for ReferenceFrameDescriptor
impl Unpin for ReferenceFrameDescriptor
impl UnwindSafe for ReferenceFrameDescriptor
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
)