Struct runestick::CompileMeta [−][src]
Compile-time metadata about a unit.
Fields
item: Arc<CompileItem>
The item of the returned compile meta.
kind: CompileMetaKind
The kind of the compile meta.
source: Option<CompileSource>
The source of the meta.
Implementations
impl CompileMeta
[src]
pub fn type_hash_of(&self) -> Option<Hash>
[src]
Get the type hash of the base type (the one to type check for) for the given compile meta.
Note: Variants cannot be used for type checking, you should instead compare them against the enum type.
Trait Implementations
impl Clone for CompileMeta
[src]
fn clone(&self) -> CompileMeta
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CompileMeta
[src]
impl Display for CompileMeta
[src]
Auto Trait Implementations
impl RefUnwindSafe for CompileMeta
impl Send for CompileMeta
impl Sync for CompileMeta
impl Unpin for CompileMeta
impl UnwindSafe for CompileMeta
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,
pub fn borrow_mut(&mut self) -> &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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,