[−][src]Struct async_graphql::Positioned
Represents the position of a AST node
Fields
pos: Pos
node: T
Implementations
impl<T> Positioned<T> where
T: Clone,
[src]
T: Clone,
pub fn clone_inner(&self) -> T
[src]
impl<T> Positioned<T>
[src]
Trait Implementations
impl Borrow<str> for Positioned<String>
[src]
impl BorrowMut<str> for Positioned<String>
[src]
fn borrow_mut(&mut self) -> &mut str
[src]
impl<T> Clone for Positioned<T> where
T: Clone + ?Sized,
[src]
T: Clone + ?Sized,
fn clone(&self) -> Positioned<T>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T> Copy for Positioned<T> where
T: Copy + ?Sized,
[src]
T: Copy + ?Sized,
impl<T> Debug for Positioned<T> where
T: Debug + ?Sized,
[src]
T: Debug + ?Sized,
impl<T> Default for Positioned<T> where
T: Default + ?Sized,
[src]
T: Default + ?Sized,
fn default() -> Positioned<T>
[src]
impl<T> Deref for Positioned<T> where
T: ?Sized,
[src]
T: ?Sized,
impl<T> DerefMut for Positioned<T> where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Display for Positioned<T> where
T: Display,
[src]
T: Display,
impl<T> Eq for Positioned<T> where
T: Ord,
[src]
T: Ord,
impl<T> Hash for Positioned<T> where
T: Hash,
[src]
T: Hash,
fn hash<H>(&self, state: &mut H) where
H: Hasher,
[src]
H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<T> Ord for Positioned<T> where
T: Ord,
[src]
T: Ord,
fn cmp(&self, other: &Positioned<T>) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<T> PartialEq<Positioned<T>> for Positioned<T> where
T: PartialEq<T>,
[src]
T: PartialEq<T>,
fn eq(&self, other: &Positioned<T>) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T> PartialOrd<Positioned<T>> for Positioned<T> where
T: PartialOrd<T>,
[src]
T: PartialOrd<T>,
Auto Trait Implementations
impl<T: ?Sized> RefUnwindSafe for Positioned<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T: ?Sized> Send for Positioned<T> where
T: Send,
T: Send,
impl<T: ?Sized> Sync for Positioned<T> where
T: Sync,
T: Sync,
impl<T: ?Sized> Unpin for Positioned<T> where
T: Unpin,
T: Unpin,
impl<T: ?Sized> UnwindSafe for Positioned<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> RuleType for T where
T: Eq + Ord + Copy + Debug + Hash,
[src]
T: Eq + Ord + Copy + Debug + Hash,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,