pub enum FunctionParameter {
None,
Read,
Write,
ReadWrite,
}
Expand description
Declares how a variable is used by a function
Variants§
None
Variable is not used at all by this function
Read
Variable is read by this function
Write
Variable is written to by this function
ReadWrite
Variable is read from and written to by this function
Implementations§
Trait Implementations§
source§impl Clone for FunctionParameter
impl Clone for FunctionParameter
source§fn clone(&self) -> FunctionParameter
fn clone(&self) -> FunctionParameter
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 FunctionParameter
impl Debug for FunctionParameter
source§impl Default for FunctionParameter
impl Default for FunctionParameter
source§fn default() -> FunctionParameter
fn default() -> FunctionParameter
Returns the “default value” for a type. Read more
impl Copy for FunctionParameter
Auto Trait Implementations§
impl RefUnwindSafe for FunctionParameter
impl Send for FunctionParameter
impl Sync for FunctionParameter
impl Unpin for FunctionParameter
impl UnwindSafe for FunctionParameter
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