pub struct FunctionMetadata { /* private fields */ }
Implementations§
Source§impl FunctionMetadata
impl FunctionMetadata
pub fn new( function_name: Option<&str>, function_info: Option<&str>, has_info: bool, combinator_function: bool, linker_function: bool, deprecated: Option<DeprecationInfo>, parameter_list: Vec<ParameterMetadata>, return_value_type_constraint: Option<DataTypeConstraint>, ) -> Self
pub fn function_name(&self) -> Option<&str>
pub fn function_info(&self) -> Option<&str>
pub fn has_info(&self) -> bool
pub fn combinator_function(&self) -> bool
pub fn linker_function(&self) -> bool
pub fn deprecated(&self) -> Option<&DeprecationInfo>
pub fn parameter_list(&self) -> &[ParameterMetadata]
pub fn return_value_type_constraint(&self) -> Option<&DataTypeConstraint>
Trait Implementations§
Source§impl Clone for FunctionMetadata
impl Clone for FunctionMetadata
Source§fn clone(&self) -> FunctionMetadata
fn clone(&self) -> FunctionMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for FunctionMetadata
impl RefUnwindSafe for FunctionMetadata
impl Send for FunctionMetadata
impl Sync for FunctionMetadata
impl Unpin for FunctionMetadata
impl UnwindSafe for FunctionMetadata
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