pub struct ViewId(pub NodeId);Expand description
Window-scoped view identifier used for “dirty view” tracking (GPUI-aligned).
v1: a view is defined at cache boundary granularity (a ViewCache root), so ViewId wraps the
runtime NodeId for that cache root.
Tuple Fields§
§0: NodeIdTrait Implementations§
impl Copy for ViewId
impl Eq for ViewId
impl StructuralPartialEq for ViewId
Auto Trait Implementations§
impl Freeze for ViewId
impl RefUnwindSafe for ViewId
impl Send for ViewId
impl Sync for ViewId
impl Unpin for ViewId
impl UnsafeUnpin for ViewId
impl UnwindSafe for ViewId
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