Enum webrender::spatial_node::ScrollFrameKind
source · pub enum ScrollFrameKind {
PipelineRoot {
is_root_pipeline: bool,
},
Explicit,
}
Expand description
Defines whether we have an implicit scroll frame for a pipeline root, or an explicitly defined scroll frame from the display list.
Variants§
Trait Implementations§
source§impl Clone for ScrollFrameKind
impl Clone for ScrollFrameKind
source§fn clone(&self) -> ScrollFrameKind
fn clone(&self) -> ScrollFrameKind
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 ScrollFrameKind
impl Debug for ScrollFrameKind
source§impl PartialEq for ScrollFrameKind
impl PartialEq for ScrollFrameKind
source§fn eq(&self, other: &ScrollFrameKind) -> bool
fn eq(&self, other: &ScrollFrameKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ScrollFrameKind
impl Serialize for ScrollFrameKind
impl Copy for ScrollFrameKind
impl StructuralPartialEq for ScrollFrameKind
Auto Trait Implementations§
impl Freeze for ScrollFrameKind
impl RefUnwindSafe for ScrollFrameKind
impl Send for ScrollFrameKind
impl Sync for ScrollFrameKind
impl Unpin for ScrollFrameKind
impl UnwindSafe for ScrollFrameKind
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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more