Enum sapio_base::effects::path_fragment::PathFragment
source · pub enum PathFragment {
}
Expand description
The derivation path fragments allowed, including user-generated
Variants§
Root
The start of a compilation process
Cloned
A Clone of some executing context
Action
An Action Branch
FinishFn
A Finish Function
CondCompIf
A Conditional Compilation Guard
Guard
A (Clause Generating) Guard
Next
A Next Clause
Suggested
Suggested Transaction
DefaultEffect
The Default Effect passed into a Continuation
Effects
All the Effects for a Coninuation
Metadata
Metadata Creation
Branch(u64)
A numbered branch at this level
Named(SArc<String>)
a named branch at this level
Trait Implementations§
source§impl Clone for PathFragment
impl Clone for PathFragment
source§fn clone(&self) -> PathFragment
fn clone(&self) -> PathFragment
Returns a copy of the value. Read more
1.0.0 · 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 PathFragment
impl Debug for PathFragment
source§impl<'de> Deserialize<'de> for PathFragment
impl<'de> Deserialize<'de> for PathFragment
source§fn 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
source§impl From<&PathFragment> for String
impl From<&PathFragment> for String
source§fn from(a: &PathFragment) -> Self
fn from(a: &PathFragment) -> Self
Converts to this type from the input type.
source§impl From<PathFragment> for String
impl From<PathFragment> for String
source§fn from(a: PathFragment) -> Self
fn from(a: PathFragment) -> Self
Converts to this type from the input type.
source§impl Hash for PathFragment
impl Hash for PathFragment
source§impl JsonSchema for PathFragment
impl JsonSchema for PathFragment
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl Ord for PathFragment
impl Ord for PathFragment
source§fn cmp(&self, other: &PathFragment) -> Ordering
fn cmp(&self, other: &PathFragment) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for PathFragment
impl PartialEq for PathFragment
source§fn eq(&self, other: &PathFragment) -> bool
fn eq(&self, other: &PathFragment) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PathFragment
impl PartialOrd for PathFragment
source§fn partial_cmp(&self, other: &PathFragment) -> Option<Ordering>
fn partial_cmp(&self, other: &PathFragment) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for PathFragment
impl Serialize for PathFragment
source§impl TryFrom<&str> for PathFragment
impl TryFrom<&str> for PathFragment
impl Eq for PathFragment
impl StructuralEq for PathFragment
impl StructuralPartialEq for PathFragment
Auto Trait Implementations§
impl RefUnwindSafe for PathFragment
impl Send for PathFragment
impl Sync for PathFragment
impl Unpin for PathFragment
impl UnwindSafe for PathFragment
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