[−][src]Struct endbasic_core::eval::CallableMetadata
Representation of a callable's metadata.
The callable is expected to hold onto an instance of this object within its struct to make queries fast.
Implementations
impl CallableMetadata
[src]
pub fn name(&self) -> &'static str
[src]
Gets the callable's name, all in uppercase.
pub fn return_type(&self) -> VarType
[src]
Gets the callable's return type.
pub fn syntax(&self) -> &'static str
[src]
Gets the callable's syntax specification.
pub fn category(&self) -> &'static str
[src]
Gets the callable's category.
pub fn description(&self) -> Lines<'static>
[src]
Gets the callable's textual description as a collection of lines. The first line is the summary of the callable's purpose.
Auto Trait Implementations
impl RefUnwindSafe for CallableMetadata
[src]
impl Send for CallableMetadata
[src]
impl Sync for CallableMetadata
[src]
impl Unpin for CallableMetadata
[src]
impl UnwindSafe for CallableMetadata
[src]
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, 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>,