pub enum ParameterData {
Optional,
WithDefaultValue(Box<Expression>),
}
Variants§
Optional
WithDefaultValue(Box<Expression>)
Trait Implementations§
Source§impl Clone for ParameterData
impl Clone for ParameterData
Source§fn clone(&self) -> ParameterData
fn clone(&self) -> ParameterData
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 ParameterData
impl Debug for ParameterData
Source§impl PartialEq for ParameterData
impl PartialEq for ParameterData
Source§impl SelfRustTokenize for ParameterData
impl SelfRustTokenize for ParameterData
fn append_to_token_stream(&self, token_stream: &mut TokenStream)
Source§fn to_tokens(&self) -> TokenStream
fn to_tokens(&self) -> TokenStream
Returns the tokens used to construct self
Source§impl Serialize for ParameterData
impl Serialize for ParameterData
Source§impl Visitable for ParameterData
impl Visitable for ParameterData
fn visit<TData>( &self, visitors: &mut (impl VisitorReceiver<TData> + ?Sized), data: &mut TData, options: &VisitOptions, chain: &mut Annex<'_, Chain>, )
fn visit_mut<TData>( &mut self, visitors: &mut (impl VisitorMutReceiver<TData> + ?Sized), data: &mut TData, options: &VisitOptions, chain: &mut Annex<'_, Chain>, )
impl StructuralPartialEq for ParameterData
Auto Trait Implementations§
impl Freeze for ParameterData
impl RefUnwindSafe for ParameterData
impl Send for ParameterData
impl Sync for ParameterData
impl Unpin for ParameterData
impl UnwindSafe for ParameterData
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