[−][src]Struct solana_libra_ir_to_bytecode_syntax::ast::Spanned
Generic wrapper that keeps file locations for any ast-node
Fields
span: Loc
The file location
value: T
The value being wrapped
Methods
impl<T> Spanned<T>
[src]
Trait Implementations
impl<T: Clone> Clone for Spanned<T>
[src]
fn clone(&self) -> Spanned<T>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<T> AsRef<T> for Spanned<T>
[src]
impl<T: Default> Default for Spanned<T>
[src]
impl<T: PartialEq> PartialEq<Spanned<T>> for Spanned<T>
[src]
impl<T: Copy> Copy for Spanned<T>
[src]
impl<T: Eq> Eq for Spanned<T>
[src]
impl<T> Display for Spanned<T> where
T: Display,
[src]
T: Display,
impl<T: Debug> Debug for Spanned<T>
[src]
impl<T> Deref for Spanned<T>
[src]
Auto Trait Implementations
impl<T> Sync for Spanned<T> where
T: Sync,
T: Sync,
impl<T> Send for Spanned<T> where
T: Send,
T: Send,
impl<T> Unpin for Spanned<T> where
T: Unpin,
T: Unpin,
impl<T> RefUnwindSafe for Spanned<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> UnwindSafe for Spanned<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> ToHex for T where
T: AsRef<[u8]>,
[src]
T: AsRef<[u8]>,
fn write_hex<W>(&self, w: &mut W) -> Result<(), Error> where
W: Write,
[src]
W: Write,
fn write_hex_upper<W>(&self, w: &mut W) -> Result<(), Error> where
W: Write,
[src]
W: Write,
impl<T> Clear for T where
T: InitializableFromZeroed + ?Sized,
T: InitializableFromZeroed + ?Sized,
fn clear(&mut self)
impl<T> InitializableFromZeroed for T where
T: Default,
T: Default,
unsafe fn initialize(place: *mut T)
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToBase32<Vec<u5>> for T where
T: AsRef<[u8]>,
T: AsRef<[u8]>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<'f, T> CheckBase32<Vec<u5>> for T where
T: AsRef<[u8]>,
T: AsRef<[u8]>,
type Err = Error
Error type if conversion fails
fn check_base32(self) -> Result<Vec<u5>, <T as CheckBase32<Vec<u5>>>::Err>
impl<T> Erased for T
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
T: Send + Sync + UnwindSafe + ?Sized,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,