pub struct TunnelCall { /* private fields */ }Implementations§
Source§impl TunnelCall
impl TunnelCall
Sourcepub fn target(&self) -> Option<DivertTarget>
pub fn target(&self) -> Option<DivertTarget>
The one divert target between the opening and closing -> (native’s
-> place -> shape carries exactly one target, unlike ink’s chained
-> a -> b ->).
Trait Implementations§
Source§impl AstNode for TunnelCall
impl AstNode for TunnelCall
Source§fn can_cast(kind: SyntaxKind) -> bool
fn can_cast(kind: SyntaxKind) -> bool
Returns
true for a node with a SyntaxKind this type can wrap.Source§fn cast(node: SyntaxNode) -> Option<Self>
fn cast(node: SyntaxNode) -> Option<Self>
Try to cast a generic
SyntaxNode into this typed wrapper.Source§fn syntax(&self) -> &SyntaxNode
fn syntax(&self) -> &SyntaxNode
Access the underlying
SyntaxNode.Source§impl Clone for TunnelCall
impl Clone for TunnelCall
Source§fn clone(&self) -> TunnelCall
fn clone(&self) -> TunnelCall
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 TunnelCall
impl Debug for TunnelCall
Source§impl Display for TunnelCall
impl Display for TunnelCall
impl Eq for TunnelCall
Source§impl Hash for TunnelCall
impl Hash for TunnelCall
Source§impl PartialEq for TunnelCall
impl PartialEq for TunnelCall
impl StructuralPartialEq for TunnelCall
Auto Trait Implementations§
impl !RefUnwindSafe for TunnelCall
impl !Send for TunnelCall
impl !Sync for TunnelCall
impl !UnwindSafe for TunnelCall
impl Freeze for TunnelCall
impl Unpin for TunnelCall
impl UnsafeUnpin for TunnelCall
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