[−][src]Enum moore_vhdl::op::Operator
An 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 (i.e. with ?
prefix).
Shift(ShiftOp)
A shift operator.
Addition or positive sign +
.
Subtraction or negative sign -
.
Concatenation &
.
Multiplication *
.
Division /
.
Modulus mod
.
Remainder rem
.
Power **
.
Absolute value abs
.
Boolean negation `not.
Condition operator ??
.
Implementations
impl Operator
[src]
pub fn from_name(name: Name) -> Option<Operator>
[src]
Map a name to an operator.
Returns None
if no such operator exists.
Trait Implementations
impl Clone for Operator
[src]
impl Copy for Operator
[src]
impl Debug for Operator
[src]
impl Display for Operator
[src]
impl Eq for Operator
[src]
impl From<BinaryOp> for Operator
[src]
impl From<Operator> for ResolvableName
[src]
pub fn from(op: Operator) -> ResolvableName
[src]
impl From<UnaryOp> for Operator
[src]
impl Hash for Operator
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<Operator> for Operator
[src]
impl StructuralEq for Operator
[src]
impl StructuralPartialEq for Operator
[src]
Auto Trait Implementations
impl RefUnwindSafe for Operator
[src]
impl Send for Operator
[src]
impl Sync for Operator
[src]
impl Unpin for Operator
[src]
impl UnwindSafe for Operator
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,