[−][src]Enum sv_parser::source_text::class_items::ClassItem
Variants
Property(Box<ClassItemProperty>)
Method(Box<ClassItemMethod>)
Constraint(Box<ClassItemConstraint>)
Declaration(Box<ClassItemDeclaration>)
Covergroup(Box<ClassItemCovergroup>)
LocalParameterDeclaration(Box<(LocalParameterDeclaration, Symbol)>)
ParameterDeclaration(Box<(ParameterDeclaration, Symbol)>)
Trait Implementations
impl TryFrom<ClassItem> for Locate
[src]
type Error = ()
The type returned in the event of a conversion error.
fn try_from(
x: ClassItem
) -> Result<Locate, <Locate as TryFrom<ClassItem>>::Error>
[src]
x: ClassItem
) -> Result<Locate, <Locate as TryFrom<ClassItem>>::Error>
impl TryFrom<AnyNode> for ClassItem
[src]
type Error = ()
The type returned in the event of a conversion error.
fn try_from(
x: AnyNode
) -> Result<ClassItem, <ClassItem as TryFrom<AnyNode>>::Error>
[src]
x: AnyNode
) -> Result<ClassItem, <ClassItem as TryFrom<AnyNode>>::Error>
impl<'a> TryFrom<&'a ClassItem> for Locate
[src]
type Error = ()
The type returned in the event of a conversion error.
fn try_from(
x: &'a ClassItem
) -> Result<Locate, <Locate as TryFrom<&'a ClassItem>>::Error>
[src]
x: &'a ClassItem
) -> Result<Locate, <Locate as TryFrom<&'a ClassItem>>::Error>
impl Clone for ClassItem
[src]
impl<'a> Node<'a> for ClassItem
[src]
impl<'a> IntoIterator for &'a ClassItem
[src]
type Item = RefNode<'a>
The type of the elements being iterated over.
type IntoIter = Iter<'a>
Which kind of iterator are we turning this into?
fn into_iter(self) -> <&'a ClassItem as IntoIterator>::IntoIter
[src]
impl Debug for ClassItem
[src]
impl<'a> From<&'a ClassItem> for RefNodes<'a>
[src]
impl<'a> From<&'a ClassItem> for RefNode<'a>
[src]
impl From<ClassItem> for AnyNode
[src]
impl PartialEq<ClassItem> for ClassItem
[src]
Auto Trait Implementations
impl Send for ClassItem
impl Unpin for ClassItem
impl Sync for ClassItem
impl UnwindSafe for ClassItem
impl RefUnwindSafe for ClassItem
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,