pub struct PrimaryConstructorDeclaration {
pub modifiers: Vec<Modifier>,
pub params: Vec<ConstructorParam>,
}
Fields§
§modifiers: Vec<Modifier>
§params: Vec<ConstructorParam>
Trait Implementations§
Source§impl Clone for PrimaryConstructorDeclaration
impl Clone for PrimaryConstructorDeclaration
Source§fn clone(&self) -> PrimaryConstructorDeclaration
fn clone(&self) -> PrimaryConstructorDeclaration
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 moreSource§impl PartialEq for PrimaryConstructorDeclaration
impl PartialEq for PrimaryConstructorDeclaration
Source§fn eq(&self, other: &PrimaryConstructorDeclaration) -> bool
fn eq(&self, other: &PrimaryConstructorDeclaration) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for PrimaryConstructorDeclaration
Auto Trait Implementations§
impl Freeze for PrimaryConstructorDeclaration
impl RefUnwindSafe for PrimaryConstructorDeclaration
impl Send for PrimaryConstructorDeclaration
impl Sync for PrimaryConstructorDeclaration
impl Unpin for PrimaryConstructorDeclaration
impl UnwindSafe for PrimaryConstructorDeclaration
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