pub struct TernaryOp {
pub first: Box<Combinator>,
pub second: Box<Combinator>,
pub precedence: u8,
pub mapping: String,
}Expand description
Ternary operator definition
Fields§
§first: Box<Combinator>First operator (e.g., Literal(“?”))
second: Box<Combinator>Second operator (e.g., Literal(“:”))
precedence: u8§mapping: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for TernaryOp
impl RefUnwindSafe for TernaryOp
impl Send for TernaryOp
impl Sync for TernaryOp
impl Unpin for TernaryOp
impl UnsafeUnpin for TernaryOp
impl UnwindSafe for TernaryOp
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