[][src]Struct moore_svlog::PortMapping

pub struct PortMapping<'a>(pub Vec<(Ref<'a, ExtPort<'a>>, NodeEnvId)>);

A port mapping.

Implementations

impl<'a> PortMapping<'a>[src]

pub fn find(&self, node_id: NodeId) -> Option<NodeEnvId>[src]

Find the signal assigned to a port.

pub fn reverse_find(&self, node_id: NodeId) -> Option<&'a ExtPort<'a>>[src]

Find the port a signal is assigned to.

Trait Implementations

impl<'a> Clone for PortMapping<'a>[src]

impl<'a> Debug for PortMapping<'a>[src]

impl<'a> Default for PortMapping<'a>[src]

impl<'a> Eq for PortMapping<'a>[src]

impl<'a> Hash for PortMapping<'a>[src]

impl<'a> PartialEq<PortMapping<'a>> for PortMapping<'a>[src]

impl<'a> StructuralEq for PortMapping<'a>[src]

impl<'a> StructuralPartialEq for PortMapping<'a>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for PortMapping<'a>[src]

impl<'a> Send for PortMapping<'a>[src]

impl<'a> Sync for PortMapping<'a>[src]

impl<'a> Unpin for PortMapping<'a>[src]

impl<'a> !UnwindSafe for PortMapping<'a>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.