pub struct Function {
pub name: String,
pub description: Option<String>,
pub features: Vec<String>,
pub args: Vec<Argument>,
pub derived_types: Vec<Argument>,
pub ret: Argument,
pub dependencies: Vec<TypeRecipe>,
pub supports_partial: bool,
pub has_ffi: bool,
pub deprecation: Option<Deprecation>,
}Fields§
§name: String§description: Option<String>§features: Vec<String>§args: Vec<Argument>§derived_types: Vec<Argument>§ret: Argument§dependencies: Vec<TypeRecipe>§supports_partial: bool§has_ffi: bool§deprecation: Option<Deprecation>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Function
impl RefUnwindSafe for Function
impl Send for Function
impl Sync for Function
impl Unpin for Function
impl UnwindSafe for Function
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