pub struct ClipStackEntry {
last_clip_chain_cache: Option<(ClipChainId, ClipNodeId)>,
seen_clips: HashSet<Handle<ClipIntern>, BuildHasherDefault<FxHasher>>,
clip_node_id: ClipNodeId,
}Fields§
§last_clip_chain_cache: Option<(ClipChainId, ClipNodeId)>Cache the previous clip-chain build, since this is a common case
seen_clips: HashSet<Handle<ClipIntern>, BuildHasherDefault<FxHasher>>Set of clips that were already seen and included in clip_node_id
clip_node_id: ClipNodeIdThe build clip_node_id for this level of the stack
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ClipStackEntry
impl RefUnwindSafe for ClipStackEntry
impl Send for ClipStackEntry
impl Sync for ClipStackEntry
impl Unpin for ClipStackEntry
impl UnwindSafe for ClipStackEntry
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