Searched refs:UnOp (Results 1 – 10 of 10) sorted by relevance
| /linux/rust/syn/ |
| H A D | op.rs | 71 pub enum UnOp { 84 use crate::op::{BinOp, UnOp}; 153 impl Parse for UnOp { implementation 157 input.parse().map(UnOp::Deref) in parse() 159 input.parse().map(UnOp::Not) in parse() 161 input.parse().map(UnOp::Neg) in parse() 171 use crate::op::{BinOp, UnOp}; 212 impl ToTokens for UnOp { implementation 215 UnOp::Deref(t) => t.to_tokens(tokens), in to_tokens() 216 UnOp::Not(t) => t.to_tokens(tokens), in to_tokens() [all …]
|
| H A D | lib.rs | 470 pub use crate::op::{BinOp, UnOp};
|
| H A D | expr.rs | 15 use crate::op::{BinOp, UnOp}; 681 pub op: UnOp,
|
| /linux/rust/syn/gen/ |
| H A D | eq.rs | 2141 impl Eq for crate::UnOp {} implementation 2144 impl PartialEq for crate::UnOp { implementation 2147 (crate::UnOp::Deref(_), crate::UnOp::Deref(_)) => true, in eq() 2148 (crate::UnOp::Not(_), crate::UnOp::Not(_)) => true, in eq() 2149 (crate::UnOp::Neg(_), crate::UnOp::Neg(_)) => true, in eq()
|
| H A D | fold.rs | 961 fn fold_un_op(&mut self, i: crate::UnOp) -> crate::UnOp { in fold_un_op() argument 3723 pub fn fold_un_op<F>(f: &mut F, node: crate::UnOp) -> crate::UnOp in fold_un_op() 3728 crate::UnOp::Deref(_binding_0) => crate::UnOp::Deref(_binding_0), in fold_un_op() 3729 crate::UnOp::Not(_binding_0) => crate::UnOp::Not(_binding_0), in fold_un_op() 3730 crate::UnOp::Neg(_binding_0) => crate::UnOp::Neg(_binding_0), in fold_un_op()
|
| H A D | hash.rs | 2694 impl Hash for crate::UnOp { implementation 2700 crate::UnOp::Deref(_) => { in hash() 2703 crate::UnOp::Not(_) => { in hash() 2706 crate::UnOp::Neg(_) => { in hash()
|
| H A D | visit_mut.rs | 892 fn visit_un_op_mut(&mut self, i: &mut crate::UnOp) { in visit_un_op_mut() argument 3592 pub fn visit_un_op_mut<V>(v: &mut V, node: &mut crate::UnOp) in visit_un_op_mut() 3597 crate::UnOp::Deref(_binding_0) => { in visit_un_op_mut() 3600 crate::UnOp::Not(_binding_0) => { in visit_un_op_mut() 3603 crate::UnOp::Neg(_binding_0) => { in visit_un_op_mut()
|
| H A D | visit.rs | 884 fn visit_un_op(&mut self, i: &'ast crate::UnOp) { in visit_un_op() argument 3770 pub fn visit_un_op<'ast, V>(v: &mut V, node: &'ast crate::UnOp) in visit_un_op() 3775 crate::UnOp::Deref(_binding_0) => { in visit_un_op() 3778 crate::UnOp::Not(_binding_0) => { in visit_un_op() 3781 crate::UnOp::Neg(_binding_0) => { in visit_un_op()
|
| H A D | debug.rs | 3048 impl Debug for crate::UnOp { implementation 3052 crate::UnOp::Deref(v0) => { in fmt() 3057 crate::UnOp::Not(v0) => { in fmt() 3062 crate::UnOp::Neg(v0) => { in fmt()
|
| H A D | clone.rs | 2128 impl Copy for crate::UnOp {} implementation 2131 impl Clone for crate::UnOp { implementation
|