pub enum SurfaceSlotOwner {
File {
span: Span,
},
Node(SurfaceNodeRef),
}Expand description
Parsed owner for a slot ref.
Variants§
Trait Implementations§
Source§impl Clone for SurfaceSlotOwner
impl Clone for SurfaceSlotOwner
Source§fn clone(&self) -> SurfaceSlotOwner
fn clone(&self) -> SurfaceSlotOwner
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SurfaceSlotOwner
impl Debug for SurfaceSlotOwner
Source§impl PartialEq for SurfaceSlotOwner
impl PartialEq for SurfaceSlotOwner
Source§fn eq(&self, other: &SurfaceSlotOwner) -> bool
fn eq(&self, other: &SurfaceSlotOwner) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SurfaceSlotOwner
impl StructuralPartialEq for SurfaceSlotOwner
Auto Trait Implementations§
impl Freeze for SurfaceSlotOwner
impl RefUnwindSafe for SurfaceSlotOwner
impl Send for SurfaceSlotOwner
impl Sync for SurfaceSlotOwner
impl Unpin for SurfaceSlotOwner
impl UnsafeUnpin for SurfaceSlotOwner
impl UnwindSafe for SurfaceSlotOwner
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