pub struct BinExpr {
pub kind: BinaryExpressionKind,
/* private fields */
}
Fields§
§kind: BinaryExpressionKind
Implementations§
Source§impl BinExpr
impl BinExpr
pub fn uninit(kind: BinaryExpressionKind) -> Uninit<Self>
pub fn into_uninit(self) -> Uninit<Self>
Source§impl BinExpr
impl BinExpr
pub fn left<'a>( &self, tree: &'a SyntaxTree, token: &'a PermTkn, ) -> ChildrenRef<'a, BinExpr, ContainerT<Identity<Operation>>, LEFT>
pub fn left_mut<'a>( &self, tree: &'a SyntaxTree, ) -> ChildrenMut<'a, BinExpr, ContainerT<Identity<Operation>>, LEFT>
Source§impl BinExpr
impl BinExpr
pub fn right<'a>( &self, tree: &'a SyntaxTree, token: &'a PermTkn, ) -> ChildrenRef<'a, BinExpr, ContainerT<Identity<Operation>>, RIGHT>
pub fn right_mut<'a>( &self, tree: &'a SyntaxTree, ) -> ChildrenMut<'a, BinExpr, ContainerT<Identity<Operation>>, RIGHT>
Trait Implementations§
Source§impl HasChildrenMarker<<Identity<Operation> as FromOptVec>::T, $tag> for BinExpr
impl HasChildrenMarker<<Identity<Operation> as FromOptVec>::T, $tag> for BinExpr
type Container = Identity<Operation>
fn get_children<'b>(
&self,
tree: &'b SyntaxTree,
token: &'b PermTkn,
) -> ChildrenRef<'b, Self, Child, TAG>where
AnyNode: ConvertibleToRef<Child>,
fn get_children_mut<'b>(
&self,
tree: &'b SyntaxTree,
) -> ChildrenMut<'b, Self, Child, TAG>where
AnyNode: ConvertibleToMut<Child>,
Source§impl HasChildrenMarker<<Identity<Operation> as FromOptVec>::T, $tag> for BinExpr
impl HasChildrenMarker<<Identity<Operation> as FromOptVec>::T, $tag> for BinExpr
type Container = Identity<Operation>
fn get_children<'b>(
&self,
tree: &'b SyntaxTree,
token: &'b PermTkn,
) -> ChildrenRef<'b, Self, Child, TAG>where
AnyNode: ConvertibleToRef<Child>,
fn get_children_mut<'b>(
&self,
tree: &'b SyntaxTree,
) -> ChildrenMut<'b, Self, Child, TAG>where
AnyNode: ConvertibleToMut<Child>,
Source§impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime AnyNode> for &'__deriveMoreLifetime BinExpr
impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime AnyNode> for &'__deriveMoreLifetime BinExpr
Source§impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime mut AnyNode> for &'__deriveMoreLifetime mut BinExpr
impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime mut AnyNode> for &'__deriveMoreLifetime mut BinExpr
impl StructuralPartialEq for BinExpr
Auto Trait Implementations§
impl !Freeze for BinExpr
impl !RefUnwindSafe for BinExpr
impl Send for BinExpr
impl !Sync for BinExpr
impl Unpin for BinExpr
impl UnwindSafe for BinExpr
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