pub struct UnExpr {
pub kind: UnaryExpressionKind,
/* private fields */
}
Fields§
§kind: UnaryExpressionKind
Implementations§
Source§impl UnExpr
impl UnExpr
pub fn uninit(kind: UnaryExpressionKind) -> Uninit<Self>
pub fn into_uninit(self) -> Uninit<Self>
Source§impl UnExpr
impl UnExpr
pub fn expr<'a>( &self, tree: &'a SyntaxTree, token: &'a PermTkn, ) -> ChildrenRef<'a, UnExpr, ContainerT<Identity<Operation>>, 0>
pub fn expr_mut<'a>( &self, tree: &'a SyntaxTree, ) -> ChildrenMut<'a, UnExpr, ContainerT<Identity<Operation>>, 0>
Trait Implementations§
Source§impl HasChildrenMarker<<Identity<Operation> as FromOptVec>::T, 0> for UnExpr
impl HasChildrenMarker<<Identity<Operation> as FromOptVec>::T, 0> for UnExpr
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 UnExpr
impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime AnyNode> for &'__deriveMoreLifetime UnExpr
Source§impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime mut AnyNode> for &'__deriveMoreLifetime mut UnExpr
impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime mut AnyNode> for &'__deriveMoreLifetime mut UnExpr
impl StructuralPartialEq for UnExpr
Auto Trait Implementations§
impl !Freeze for UnExpr
impl !RefUnwindSafe for UnExpr
impl Send for UnExpr
impl !Sync for UnExpr
impl Unpin for UnExpr
impl UnwindSafe for UnExpr
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