Enum reproto_core::RpPathSegment
[−]
[src]
pub enum RpPathSegment { Literal { value: Loc<String>, }, Variable { name: Loc<String>, ty: Loc<RpType>, }, }
Variants
Literal
Fields of Literal
value: Loc<String> |
Variable
Fields of Variable
name: Loc<String> | |
ty: Loc<RpType> |
Methods
impl RpPathSegment
[src]
Trait Implementations
impl Debug for RpPathSegment
[src]
impl Clone for RpPathSegment
[src]
fn clone(&self) -> RpPathSegment
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more