[−][src]Enum moore_vhdl::op::BinaryOp
A binary operator.
See IEEE 1076-2008 section 9.2.
Variants
Logical(LogicalOp)
A logical operator.
Rel(RelationalOp)
A relational operator.
Match(RelationalOp)
A matching relational operator. These are the relational operators
prefixed with a ?
.
Shift(ShiftOp)
A shift operator.
The +
operator.
The -
operator.
The &
operator.
The *
operator.
The /
operator.
The mod
operator.
The rem
operator.
The **
operator.
Methods
impl BinaryOp
[src]
pub fn from<C: DiagEmitter>(
ast: Spanned<BinaryOp>,
ctx: C
) -> Result<Spanned<BinaryOp>>
[src]
ast: Spanned<BinaryOp>,
ctx: C
) -> Result<Spanned<BinaryOp>>
Map an AST binary operator to a HIR binary operator.
Emits an error if the operator is not a valid binary operator.
Trait Implementations
impl From<BinaryOp> for Operator
[src]
impl From<BinaryOp> for ResolvableName
[src]
fn from(op: BinaryOp) -> ResolvableName
[src]
impl Clone for BinaryOp
[src]
impl Copy for BinaryOp
[src]
impl Eq for BinaryOp
[src]
impl PartialEq<BinaryOp> for BinaryOp
[src]
impl Display for BinaryOp
[src]
impl Debug for BinaryOp
[src]
Auto Trait Implementations
impl Send for BinaryOp
impl Sync for BinaryOp
impl Unpin for BinaryOp
impl UnwindSafe for BinaryOp
impl RefUnwindSafe for BinaryOp
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,