pub enum InterfaceUsage {
TypedConnect {
interface_type: Option<String>,
from: Node<Expression>,
to: Node<Expression>,
body: ConnectBody,
body_elements: Vec<Node<InterfaceUsageBodyElement>>,
},
Connection {
from: Node<Expression>,
to: Node<Expression>,
body_elements: Vec<Node<InterfaceUsageBodyElement>>,
},
}Expand description
Interface usage: typed+connect or connection form.
Variants§
TypedConnect
interface :Type? connect from to to body; optional body with ref redefs.
Fields
§
from: Node<Expression>§
to: Node<Expression>§
body: ConnectBody§
body_elements: Vec<Node<InterfaceUsageBodyElement>>Connection
interface from to to body.
Fields
§
from: Node<Expression>§
to: Node<Expression>§
body_elements: Vec<Node<InterfaceUsageBodyElement>>Trait Implementations§
Source§impl Clone for InterfaceUsage
impl Clone for InterfaceUsage
Source§fn clone(&self) -> InterfaceUsage
fn clone(&self) -> InterfaceUsage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InterfaceUsage
impl Debug for InterfaceUsage
Source§impl PartialEq for InterfaceUsage
impl PartialEq for InterfaceUsage
Source§fn eq(&self, other: &InterfaceUsage) -> bool
fn eq(&self, other: &InterfaceUsage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for InterfaceUsage
impl StructuralPartialEq for InterfaceUsage
Auto Trait Implementations§
impl Freeze for InterfaceUsage
impl RefUnwindSafe for InterfaceUsage
impl Send for InterfaceUsage
impl Sync for InterfaceUsage
impl Unpin for InterfaceUsage
impl UnsafeUnpin for InterfaceUsage
impl UnwindSafe for InterfaceUsage
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