pub struct Instance { /* private fields */ }Implementations§
Source§impl Instance
impl Instance
pub fn from_entity(name: &str, entity: &Entity) -> Instance
pub fn connect_to_entity(&mut self, entity: &Entity)
pub fn connect_interface_by_name_to_signal_list( &mut self, name: &str, signal_list: &Vec<SignalDeclaraion>, )
pub fn connect_interface_by_index_to_signal_list( &mut self, index: usize, signal_list: &Vec<SignalDeclaraion>, )
pub fn connect_generic( &mut self, inner: &str, outer: &str, ) -> Result<(), VhdlError>
pub fn connect_to_port( &mut self, inner: &str, outer: &str, ) -> Result<(), VhdlError>
pub fn get_name(&self) -> &String
pub fn get_interfaces(&self) -> &Vec<EntityInterfaceBinding>
pub fn get_interface_by_name( &self, name: &str, ) -> Option<&EntityInterfaceBinding>
pub fn get_instance_interface_matches( &self, inst_b: &Instance, ) -> Vec<(usize, usize)>
pub fn get_unbound_generics(&self) -> Vec<GenericBinding>
pub fn get_port_data_type_by_name(&self, name: &str) -> Option<&String>
pub fn contains_interface(&self, name: &str) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Instance
impl RefUnwindSafe for Instance
impl Send for Instance
impl Sync for Instance
impl Unpin for Instance
impl UnwindSafe for Instance
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§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