pub struct FunctionTypeName {
pub parameters: Vec<Parameter>,
pub visibility: Option<Visibility>,
pub state_mutability: Option<StateMutability>,
pub returns: Option<Vec<Parameter>>,
}
Fields§
§parameters: Vec<Parameter>
§visibility: Option<Visibility>
§state_mutability: Option<StateMutability>
§returns: Option<Vec<Parameter>>
Trait Implementations§
Source§impl Clone for FunctionTypeName
impl Clone for FunctionTypeName
Source§fn clone(&self) -> FunctionTypeName
fn clone(&self) -> FunctionTypeName
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 moreSource§impl Debug for FunctionTypeName
impl Debug for FunctionTypeName
Source§impl PartialEq for FunctionTypeName
impl PartialEq for FunctionTypeName
impl StructuralPartialEq for FunctionTypeName
Auto Trait Implementations§
impl Freeze for FunctionTypeName
impl RefUnwindSafe for FunctionTypeName
impl Send for FunctionTypeName
impl Sync for FunctionTypeName
impl Unpin for FunctionTypeName
impl UnwindSafe for FunctionTypeName
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