Struct ezno_parser::parameters::SpreadParameter
source · pub struct SpreadParameter {
pub name: VariableIdentifier,
pub type_annotation: Option<TypeAnnotation>,
}
Fields§
§name: VariableIdentifier
§type_annotation: Option<TypeAnnotation>
Trait Implementations§
source§impl Clone for SpreadParameter
impl Clone for SpreadParameter
source§fn clone(&self) -> SpreadParameter
fn clone(&self) -> SpreadParameter
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 SpreadParameter
impl Debug for SpreadParameter
source§impl PartialEq<SpreadParameter> for SpreadParameter
impl PartialEq<SpreadParameter> for SpreadParameter
source§fn eq(&self, other: &SpreadParameter) -> bool
fn eq(&self, other: &SpreadParameter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Visitable for SpreadParameter
impl Visitable for SpreadParameter
fn visit<TData>( &self, visitors: &mut (impl VisitorReceiver<TData> + ?Sized), data: &mut TData, settings: &VisitSettings, chain: &mut Annex<'_, Chain> )
fn visit_mut<TData>( &mut self, visitors: &mut (impl VisitorMutReceiver<TData> + ?Sized), data: &mut TData, settings: &VisitSettings, chain: &mut Annex<'_, Chain> )
impl Eq for SpreadParameter
impl StructuralEq for SpreadParameter
impl StructuralPartialEq for SpreadParameter
Auto Trait Implementations§
impl RefUnwindSafe for SpreadParameter
impl Send for SpreadParameter
impl Sync for SpreadParameter
impl Unpin for SpreadParameter
impl UnwindSafe for SpreadParameter
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