pub struct SurfacePathSegment {
pub name: String,
pub span: Span,
}Expand description
Parsed scalar path segment.
Fields§
§name: String§span: SpanTrait Implementations§
Source§impl Clone for SurfacePathSegment
impl Clone for SurfacePathSegment
Source§fn clone(&self) -> SurfacePathSegment
fn clone(&self) -> SurfacePathSegment
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 SurfacePathSegment
impl Debug for SurfacePathSegment
Source§impl PartialEq for SurfacePathSegment
impl PartialEq for SurfacePathSegment
Source§fn eq(&self, other: &SurfacePathSegment) -> bool
fn eq(&self, other: &SurfacePathSegment) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SurfacePathSegment
impl StructuralPartialEq for SurfacePathSegment
Auto Trait Implementations§
impl Freeze for SurfacePathSegment
impl RefUnwindSafe for SurfacePathSegment
impl Send for SurfacePathSegment
impl Sync for SurfacePathSegment
impl Unpin for SurfacePathSegment
impl UnsafeUnpin for SurfacePathSegment
impl UnwindSafe for SurfacePathSegment
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