Enum webrender_api::SpatialTreeItem
source · #[repr(u8)]pub enum SpatialTreeItem {
ScrollFrame(ScrollFrameDescriptor),
ReferenceFrame(ReferenceFrameDescriptor),
StickyFrame(StickyFrameDescriptor),
Invalid,
}
Variants§
ScrollFrame(ScrollFrameDescriptor)
ReferenceFrame(ReferenceFrameDescriptor)
StickyFrame(StickyFrameDescriptor)
Invalid
Trait Implementations§
source§impl Clone for SpatialTreeItem
impl Clone for SpatialTreeItem
source§fn clone(&self) -> SpatialTreeItem
fn clone(&self) -> SpatialTreeItem
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 SpatialTreeItem
impl Debug for SpatialTreeItem
source§impl<'de> Deserialize<'de> for SpatialTreeItem
impl<'de> Deserialize<'de> for SpatialTreeItem
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 SpatialTreeItem
impl PartialEq for SpatialTreeItem
source§fn eq(&self, other: &SpatialTreeItem) -> bool
fn eq(&self, other: &SpatialTreeItem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Peek for SpatialTreeItem
impl Peek for SpatialTreeItem
source§impl Poke for SpatialTreeItem
impl Poke for SpatialTreeItem
source§impl Serialize for SpatialTreeItem
impl Serialize for SpatialTreeItem
impl Copy for SpatialTreeItem
impl StructuralPartialEq for SpatialTreeItem
Auto Trait Implementations§
impl Freeze for SpatialTreeItem
impl RefUnwindSafe for SpatialTreeItem
impl Send for SpatialTreeItem
impl Sync for SpatialTreeItem
impl Unpin for SpatialTreeItem
impl UnwindSafe for SpatialTreeItem
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