pub enum PathParameters {
None,
AngleBracketed(AngleBracketedParameterData),
Parenthesized(ParenthesizedParameterData),
}
Expand description
Parameters of a path segment.
E.g. <A, B>
as in Foo<A, B>
or (A, B)
as in Foo(A, B)
Variants§
None
AngleBracketed(AngleBracketedParameterData)
The <'a, A, B, C>
in foo::bar::baz::<'a, A, B, C>
Parenthesized(ParenthesizedParameterData)
The (A, B)
and C
in Foo(A, B) -> C
Implementations§
Trait Implementations§
Source§impl Clone for PathParameters
impl Clone for PathParameters
Source§fn clone(&self) -> PathParameters
fn clone(&self) -> PathParameters
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 Default for PathParameters
impl Default for PathParameters
Auto Trait Implementations§
impl Freeze for PathParameters
impl RefUnwindSafe for PathParameters
impl !Send for PathParameters
impl !Sync for PathParameters
impl Unpin for PathParameters
impl UnwindSafe for PathParameters
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