pub struct StdlibMetadata {
pub functions: Vec<FunctionInfo>,
pub patterns: Vec<PatternInfo>,
pub intrinsic_functions: Vec<FunctionInfo>,
pub intrinsic_types: Vec<TypeInfo>,
}Expand description
Metadata extracted from Shape stdlib
Fields§
§functions: Vec<FunctionInfo>Exported functions from stdlib
patterns: Vec<PatternInfo>Exported patterns from stdlib
intrinsic_functions: Vec<FunctionInfo>Declaration-only intrinsic functions from std/core
intrinsic_types: Vec<TypeInfo>Declaration-only intrinsic types from std/core
Implementations§
Trait Implementations§
Source§impl Debug for StdlibMetadata
impl Debug for StdlibMetadata
Source§impl Default for StdlibMetadata
impl Default for StdlibMetadata
Source§fn default() -> StdlibMetadata
fn default() -> StdlibMetadata
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StdlibMetadata
impl RefUnwindSafe for StdlibMetadata
impl Send for StdlibMetadata
impl Sync for StdlibMetadata
impl Unpin for StdlibMetadata
impl UnsafeUnpin for StdlibMetadata
impl UnwindSafe for StdlibMetadata
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> 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