pub enum NetworkProjection {
Lossless,
ConcreteSyntax,
AbstractSyntax,
Semantic,
}Expand description
View of a links network with lower-level data optionally stripped away.
Variants§
Lossless
Full lossless network, including all source-preservation links.
ConcreteSyntax
Concrete syntax view, including tokens, trivia, fields, and spans.
AbstractSyntax
Abstract syntax view, excluding lossless token and trivia links.
Semantic
Meaning-focused view, keeping semantic, concept, type, and language links.
Implementations§
Trait Implementations§
Source§impl Clone for NetworkProjection
impl Clone for NetworkProjection
Source§fn clone(&self) -> NetworkProjection
fn clone(&self) -> NetworkProjection
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 moreimpl Copy for NetworkProjection
Source§impl Debug for NetworkProjection
impl Debug for NetworkProjection
impl Eq for NetworkProjection
Source§impl PartialEq for NetworkProjection
impl PartialEq for NetworkProjection
Source§fn eq(&self, other: &NetworkProjection) -> bool
fn eq(&self, other: &NetworkProjection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NetworkProjection
Auto Trait Implementations§
impl Freeze for NetworkProjection
impl RefUnwindSafe for NetworkProjection
impl Send for NetworkProjection
impl Sync for NetworkProjection
impl Unpin for NetworkProjection
impl UnsafeUnpin for NetworkProjection
impl UnwindSafe for NetworkProjection
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