Struct vhdl_lang::ast::ObjectDeclaration
source · pub struct ObjectDeclaration {
pub class: ObjectClass,
pub colon_token: TokenId,
pub idents: Vec<WithDecl<Ident>>,
pub subtype_indication: SubtypeIndication,
pub expression: Option<WithTokenSpan<Expression>>,
}
Fields§
§class: ObjectClass
§colon_token: TokenId
§idents: Vec<WithDecl<Ident>>
§subtype_indication: SubtypeIndication
§expression: Option<WithTokenSpan<Expression>>
Trait Implementations§
source§impl Clone for ObjectDeclaration
impl Clone for ObjectDeclaration
source§fn clone(&self) -> ObjectDeclaration
fn clone(&self) -> ObjectDeclaration
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 ObjectDeclaration
impl Debug for ObjectDeclaration
source§impl Display for ObjectDeclaration
impl Display for ObjectDeclaration
source§impl PartialEq for ObjectDeclaration
impl PartialEq for ObjectDeclaration
source§impl Search for ObjectDeclaration
impl Search for ObjectDeclaration
fn search( &self, ctx: &dyn TokenAccess, searcher: &mut impl Searcher, ) -> SearchResult
impl StructuralPartialEq for ObjectDeclaration
Auto Trait Implementations§
impl !Freeze for ObjectDeclaration
impl RefUnwindSafe for ObjectDeclaration
impl Send for ObjectDeclaration
impl Sync for ObjectDeclaration
impl Unpin for ObjectDeclaration
impl UnwindSafe for ObjectDeclaration
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more