Enum cosmic_space::point::PointSegCtx
source · pub enum PointSegCtx {
Root,
Space(String),
Base(String),
FilesystemRootDir,
Dir(String),
File(String),
Version(Version),
Working(Trace),
Pop(Trace),
}Variants
Root
Space(String)
Base(String)
FilesystemRootDir
Dir(String)
File(String)
Version(Version)
Working(Trace)
Pop(Trace)
Implementations
sourceimpl PointSegCtx
impl PointSegCtx
pub fn is_normalized(&self) -> bool
pub fn is_filesystem_seg(&self) -> bool
Trait Implementations
sourceimpl Clone for PointSegCtx
impl Clone for PointSegCtx
sourcefn clone(&self) -> PointSegCtx
fn clone(&self) -> PointSegCtx
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 PointSegCtx
impl Debug for PointSegCtx
sourceimpl<'de> Deserialize<'de> for PointSegCtx
impl<'de> Deserialize<'de> for PointSegCtx
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 PointSegCtx
impl Hash for PointSegCtx
sourceimpl Into<PointSegCtx> for PointSeg
impl Into<PointSegCtx> for PointSeg
sourcefn into(self) -> PointSegCtx
fn into(self) -> PointSegCtx
Converts this type into the (usually inferred) input type.
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<PointSegCtx> for PointSegCtx
impl PartialEq<PointSegCtx> for PointSegCtx
sourcefn eq(&self, other: &PointSegCtx) -> bool
fn eq(&self, other: &PointSegCtx) -> bool
sourceimpl PointSegQuery for PointSegCtx
impl PointSegQuery for PointSegCtx
fn is_filesystem_root(&self) -> bool
fn kind(&self) -> PointSegKind
sourceimpl Serialize for PointSegCtx
impl Serialize for PointSegCtx
sourceimpl TryInto<PointSeg> for PointSegCtx
impl TryInto<PointSeg> for PointSegCtx
sourceimpl TryInto<PointSegCtx> for PointSegVar
impl TryInto<PointSegCtx> for PointSegVar
impl Eq for PointSegCtx
impl PointSegment for PointSegCtx
impl StructuralEq for PointSegCtx
impl StructuralPartialEq for PointSegCtx
Auto Trait Implementations
impl RefUnwindSafe for PointSegCtx
impl Send for PointSegCtx
impl Sync for PointSegCtx
impl Unpin for PointSegCtx
impl UnwindSafe for PointSegCtx
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