[][src]Struct sixtyfps_compilerlib::parser::syntax_nodes::Element

pub struct Element(pub SyntaxNodeWithSourceFile);

Implementations

impl Element[src]

pub fn QualifiedName(&self) -> Option<QualifiedName>[src]

pub fn PropertyDeclaration(&self) -> impl Iterator<Item = PropertyDeclaration>[src]

pub fn Binding(&self) -> impl Iterator<Item = Binding>[src]

pub fn SignalConnection(&self) -> impl Iterator<Item = SignalConnection>[src]

pub fn SignalDeclaration(&self) -> impl Iterator<Item = SignalDeclaration>[src]

pub fn SubElement(&self) -> impl Iterator<Item = SubElement>[src]

pub fn RepeatedElement(&self) -> impl Iterator<Item = RepeatedElement>[src]

pub fn PropertyAnimation(&self) -> impl Iterator<Item = PropertyAnimation>[src]

pub fn TwoWayBinding(&self) -> impl Iterator<Item = TwoWayBinding>[src]

pub fn States(&self) -> impl Iterator<Item = States>[src]

pub fn Transitions(&self) -> impl Iterator<Item = Transitions>[src]

pub fn ChildrenPlaceholder(&self) -> Option<ChildrenPlaceholder>[src]

Methods from Deref<Target = SyntaxNodeWithSourceFile>

Trait Implementations

impl Clone for Element[src]

impl Debug for Element[src]

impl Deref for Element[src]

type Target = SyntaxNodeWithSourceFile

The resulting type after dereferencing.

impl DerefMut for Element[src]

impl From<Element> for SyntaxNodeWithSourceFile[src]

impl From<SyntaxNodeWithSourceFile> for Element[src]

impl Spanned for Element[src]

impl SpannedWithSourceFile for Element[src]

Auto Trait Implementations

impl !RefUnwindSafe for Element

impl !Send for Element

impl !Sync for Element

impl Unpin for Element

impl !UnwindSafe for Element

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> 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.