Struct llvm_kaleidoscope_rs::parser::PrototypeAST  
source · pub struct PrototypeAST(pub String, pub Vec<String>);Expand description
PrototypeAST - This class represents the “prototype” for a function, which captures its name, and its argument names (thus implicitly the number of arguments the function takes).
Tuple Fields§
§0: String§1: Vec<String>Trait Implementations§
source§impl Clone for PrototypeAST
 
impl Clone for PrototypeAST
source§fn clone(&self) -> PrototypeAST
 
fn clone(&self) -> PrototypeAST
Returns a copy 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 PrototypeAST
 
impl Debug for PrototypeAST
source§impl PartialEq for PrototypeAST
 
impl PartialEq for PrototypeAST
source§fn eq(&self, other: &PrototypeAST) -> bool
 
fn eq(&self, other: &PrototypeAST) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PrototypeAST
Auto Trait Implementations§
impl RefUnwindSafe for PrototypeAST
impl Send for PrototypeAST
impl Sync for PrototypeAST
impl Unpin for PrototypeAST
impl UnwindSafe for PrototypeAST
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