Struct webrender::scene_building::PendingShadow
source · pub struct PendingShadow {
shadow: Shadow,
should_inflate: bool,
spatial_node_index: SpatialNodeIndex,
}
Expand description
As shadows are pushed, they are stored as pending shadows, and handled at once during pop_all_shadows.
Fields§
§shadow: Shadow
§should_inflate: bool
§spatial_node_index: SpatialNodeIndex
Auto Trait Implementations§
impl Freeze for PendingShadow
impl RefUnwindSafe for PendingShadow
impl Send for PendingShadow
impl Sync for PendingShadow
impl Unpin for PendingShadow
impl UnwindSafe for PendingShadow
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