pub struct SurfaceFragment {
pub source: String,
pub span: Span,
}Expand description
Fragment source carried verbatim until schema resolution picks a parser.
Fields§
§source: String§span: SpanTrait Implementations§
Source§impl Clone for SurfaceFragment
impl Clone for SurfaceFragment
Source§fn clone(&self) -> SurfaceFragment
fn clone(&self) -> SurfaceFragment
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 SurfaceFragment
impl Debug for SurfaceFragment
Source§impl PartialEq for SurfaceFragment
impl PartialEq for SurfaceFragment
Source§fn eq(&self, other: &SurfaceFragment) -> bool
fn eq(&self, other: &SurfaceFragment) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SurfaceFragment
impl StructuralPartialEq for SurfaceFragment
Auto Trait Implementations§
impl Freeze for SurfaceFragment
impl RefUnwindSafe for SurfaceFragment
impl Send for SurfaceFragment
impl Sync for SurfaceFragment
impl Unpin for SurfaceFragment
impl UnsafeUnpin for SurfaceFragment
impl UnwindSafe for SurfaceFragment
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