pub struct ArgumentLocator { /* private fields */ }
Expand description
A locator for a function argument of the form {is_input}/{index}
.
Implementations§
Trait Implementations§
Source§impl Clone for ArgumentLocator
impl Clone for ArgumentLocator
Source§fn clone(&self) -> ArgumentLocator
fn clone(&self) -> ArgumentLocator
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 ArgumentLocator
impl Debug for ArgumentLocator
Source§impl<'de> Deserialize<'de> for ArgumentLocator
impl<'de> Deserialize<'de> for ArgumentLocator
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserializes the locator from a string or bytes.
Source§impl Display for ArgumentLocator
impl Display for ArgumentLocator
Source§impl FromBytes for ArgumentLocator
impl FromBytes for ArgumentLocator
Source§impl FromStr for ArgumentLocator
impl FromStr for ArgumentLocator
Source§impl Hash for ArgumentLocator
impl Hash for ArgumentLocator
Source§impl Parser for ArgumentLocator
impl Parser for ArgumentLocator
Source§fn parse(string: &str) -> ParserResult<'_, Self>
fn parse(string: &str) -> ParserResult<'_, Self>
Parses a string into an argument locator of the form {is_input}/{index}
.
Source§impl PartialEq for ArgumentLocator
impl PartialEq for ArgumentLocator
Source§impl Serialize for ArgumentLocator
impl Serialize for ArgumentLocator
Source§impl ToBytes for ArgumentLocator
impl ToBytes for ArgumentLocator
impl Copy for ArgumentLocator
impl Eq for ArgumentLocator
impl StructuralPartialEq for ArgumentLocator
Auto Trait Implementations§
impl Freeze for ArgumentLocator
impl RefUnwindSafe for ArgumentLocator
impl Send for ArgumentLocator
impl Sync for ArgumentLocator
impl Unpin for ArgumentLocator
impl UnwindSafe for ArgumentLocator
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'de, T> DeserializeExt<'de> for Twhere
T: DeserializeOwned,
impl<'de, T> DeserializeExt<'de> for Twhere
T: DeserializeOwned,
fn take_from_value<D>(
value: &mut Value,
field: &str,
) -> Result<T, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more