[][src]Struct vcd::Scope

pub struct Scope {
    pub scope_type: ScopeType,
    pub identifier: String,
    pub children: Vec<ScopeItem>,
}

Information on a VCD scope as represented by a $scope command and its children.

Fields

scope_type: ScopeTypeidentifier: Stringchildren: Vec<ScopeItem>

Methods

impl Scope[src]

pub fn find_var<'a>(&'a self, reference: &str) -> Option<&'a Var>[src]

Looks up a variable by reference.

Trait Implementations

impl Default for Scope[src]

impl Clone for Scope[src]

impl PartialEq<Scope> for Scope[src]

impl Debug for Scope[src]

Auto Trait Implementations

impl Send for Scope

impl Unpin for Scope

impl Sync for Scope

impl UnwindSafe for Scope

impl RefUnwindSafe for Scope

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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