Enum cosmic_space::point::PointSegVar
source · pub enum PointSegVar {
Root,
Space(String),
Base(String),
FilesystemRootDir,
Dir(String),
File(String),
Version(Version),
Working(Trace),
Pop(Trace),
Var(Variable),
}Variants
Root
Space(String)
Base(String)
FilesystemRootDir
Dir(String)
File(String)
Version(Version)
Working(Trace)
Pop(Trace)
Var(Variable)
Implementations
sourceimpl PointSegVar
impl PointSegVar
pub fn is_normalized(&self) -> bool
pub fn is_filesystem_seg(&self) -> bool
Trait Implementations
sourceimpl Clone for PointSegVar
impl Clone for PointSegVar
sourcefn clone(&self) -> PointSegVar
fn clone(&self) -> PointSegVar
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for PointSegVar
impl Debug for PointSegVar
sourceimpl<'de> Deserialize<'de> for PointSegVar
impl<'de> Deserialize<'de> for PointSegVar
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Hash for PointSegVar
impl Hash for PointSegVar
sourceimpl Into<PointSegVar> for PointSegCtx
impl Into<PointSegVar> for PointSegCtx
sourcefn into(self) -> PointSegVar
fn into(self) -> PointSegVar
Converts this type into the (usually inferred) input type.
sourceimpl PartialEq<PointSegVar> for PointSegVar
impl PartialEq<PointSegVar> for PointSegVar
sourcefn eq(&self, other: &PointSegVar) -> bool
fn eq(&self, other: &PointSegVar) -> bool
sourceimpl PointSegQuery for PointSegVar
impl PointSegQuery for PointSegVar
fn is_filesystem_root(&self) -> bool
fn kind(&self) -> PointSegKind
sourceimpl Serialize for PointSegVar
impl Serialize for PointSegVar
sourceimpl ToString for PointSegVar
impl ToString for PointSegVar
sourceimpl TryInto<PointSegCtx> for PointSegVar
impl TryInto<PointSegCtx> for PointSegVar
impl Eq for PointSegVar
impl PointSegment for PointSegVar
impl StructuralEq for PointSegVar
impl StructuralPartialEq for PointSegVar
Auto Trait Implementations
impl RefUnwindSafe for PointSegVar
impl Send for PointSegVar
impl Sync for PointSegVar
impl Unpin for PointSegVar
impl UnwindSafe for PointSegVar
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<I, T> ExtractContext<I, ()> for T
impl<I, T> ExtractContext<I, ()> for T
sourcefn extract_context(self, _original_input: I)
fn extract_context(self, _original_input: I)
Given the context attached to a nom error, and given the original
input to the nom parser, extract more the useful context information. Read more
sourceimpl<I> RecreateContext<I> for I
impl<I> RecreateContext<I> for I
sourcefn recreate_context(_original_input: I, tail: I) -> I
fn recreate_context(_original_input: I, tail: I) -> I
Given the original input, as well as the context reported by nom,
recreate a context in the original string where the error occurred. Read more