pub struct ClipItemKey {
pub kind: ClipItemKeyKind,
pub spatial_node_index: SpatialNodeIndex,
}
Fields§
§kind: ClipItemKeyKind
§spatial_node_index: SpatialNodeIndex
Trait Implementations§
source§impl Clone for ClipItemKey
impl Clone for ClipItemKey
source§fn clone(&self) -> ClipItemKey
fn clone(&self) -> ClipItemKey
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 ClipItemKey
impl Debug for ClipItemKey
source§impl From<ClipItemKey> for ClipNode
impl From<ClipItemKey> for ClipNode
source§fn from(item: ClipItemKey) -> Self
fn from(item: ClipItemKey) -> Self
Converts to this type from the input type.
source§impl Hash for ClipItemKey
impl Hash for ClipItemKey
source§impl InternDebug for ClipItemKey
impl InternDebug for ClipItemKey
fn on_interned(&self, _uid: ItemUid)
source§impl MallocSizeOf for ClipItemKey
impl MallocSizeOf for ClipItemKey
source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
source§impl PartialEq for ClipItemKey
impl PartialEq for ClipItemKey
source§impl Serialize for ClipItemKey
impl Serialize for ClipItemKey
impl Copy for ClipItemKey
impl Eq for ClipItemKey
impl StructuralPartialEq for ClipItemKey
Auto Trait Implementations§
impl Freeze for ClipItemKey
impl RefUnwindSafe for ClipItemKey
impl Send for ClipItemKey
impl Sync for ClipItemKey
impl Unpin for ClipItemKey
impl UnwindSafe for ClipItemKey
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
)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