Struct vhdl_lang::InterfaceEnt
source · pub struct InterfaceEnt<'a> { /* private fields */ }
Implementations§
source§impl<'a> InterfaceEnt<'a>
impl<'a> InterfaceEnt<'a>
pub fn inner(&self) -> EntRef<'a>
pub fn from_any(ent: EntRef<'a>) -> Option<Self>
pub fn has_default(&self) -> bool
pub fn interface_class(&self) -> InterfaceClass
pub fn is_signal(&self) -> bool
pub fn is_out_or_inout_signal(&self) -> bool
pub fn type_mark(&self) -> TypeEnt<'a>
pub fn base_type(&self) -> TypeEnt<'a>
pub fn base(&self) -> BaseType<'a>
Methods from Deref<Target = AnyEnt<'a>>§
pub fn id(&self) -> EntityId
pub fn declaration(&'a self) -> EntRef<'a>
pub fn is_implicit(&self) -> bool
pub fn is_subprogram(&self) -> bool
pub fn is_subprogram_decl(&self) -> bool
pub fn is_uninst_subprogram_decl(&self) -> bool
pub fn is_uninst_subprogram_body(&self) -> bool
pub fn is_uninst_subprogram(&self) -> bool
pub fn is_protected_type(&self) -> bool
pub fn is_protected_type_body(&self) -> bool
pub fn is_declared_by(&self, other: EntRef<'_>) -> bool
pub fn is_implicit_of(&self, other: EntityId) -> bool
pub fn is_instance_of(&self, other: EntRef<'_>) -> bool
pub fn is_explicit(&self) -> bool
sourcepub fn is_anonymous(&self) -> bool
pub fn is_anonymous(&self) -> bool
A statement without a label
pub fn decl_pos(&self) -> Option<&SrcPos>
pub fn parent_in_same_source(&self) -> Option<EntRef<'a>>
pub fn library_name(&self) -> Option<&Symbol>
pub fn designator(&self) -> &Designator
pub fn path_name(&self) -> String
pub fn kind(&self) -> &AnyEntKind<'_>
pub fn error( &self, diagnostics: &mut dyn DiagnosticHandler, message: impl Into<String>, code: ErrorCode, )
pub fn is_overloaded(&self) -> bool
pub fn signature(&self) -> Option<&Signature<'_>>
pub fn as_actual(&self) -> EntRef<'_>
pub fn get_attribute(&self, name: &Symbol) -> Option<AttributeEnt<'a>>
sourcepub fn actual_kind(&self) -> &AnyEntKind<'_>
pub fn actual_kind(&self) -> &AnyEntKind<'_>
Strip aliases and return reference to actual entity kind
sourcepub fn is_alias_of(&self, other: EntRef<'_>) -> bool
pub fn is_alias_of(&self, other: EntRef<'_>) -> bool
Returns true if self is alias of other
pub fn describe(&self) -> String
Trait Implementations§
source§impl<'a> Clone for InterfaceEnt<'a>
impl<'a> Clone for InterfaceEnt<'a>
source§fn clone(&self) -> InterfaceEnt<'a>
fn clone(&self) -> InterfaceEnt<'a>
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<'a> Debug for InterfaceEnt<'a>
impl<'a> Debug for InterfaceEnt<'a>
source§impl<'a> Deref for InterfaceEnt<'a>
impl<'a> Deref for InterfaceEnt<'a>
source§impl<'a> PartialEq for InterfaceEnt<'a>
impl<'a> PartialEq for InterfaceEnt<'a>
impl<'a> Copy for InterfaceEnt<'a>
impl<'a> Eq for InterfaceEnt<'a>
impl<'a> StructuralPartialEq for InterfaceEnt<'a>
Auto Trait Implementations§
impl<'a> Freeze for InterfaceEnt<'a>
impl<'a> !RefUnwindSafe for InterfaceEnt<'a>
impl<'a> Send for InterfaceEnt<'a>
impl<'a> Sync for InterfaceEnt<'a>
impl<'a> Unpin for InterfaceEnt<'a>
impl<'a> !UnwindSafe for InterfaceEnt<'a>
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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