pub struct FunctionMetadata {
pub name: String,
pub start_pos: usize,
pub end_pos: usize,
pub parameters: Vec<String>,
pub return_type: Option<ShellType>,
}Fields§
§name: String§start_pos: usize§end_pos: usize§parameters: Vec<String>§return_type: Option<ShellType>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