Enum planus_types::intermediate::SimpleType
source · pub enum SimpleType {
Struct(DeclarationIndex),
Enum(DeclarationIndex),
Bool,
Integer(IntegerType),
Float(FloatType),
}Variants§
Implementations§
Trait Implementations§
source§impl Clone for SimpleType
impl Clone for SimpleType
source§fn clone(&self) -> SimpleType
fn clone(&self) -> SimpleType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SimpleType
impl Debug for SimpleType
source§impl Hash for SimpleType
impl Hash for SimpleType
source§impl PartialEq<SimpleType> for SimpleType
impl PartialEq<SimpleType> for SimpleType
source§fn eq(&self, other: &SimpleType) -> bool
fn eq(&self, other: &SimpleType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for SimpleType
impl Eq for SimpleType
impl StructuralEq for SimpleType
impl StructuralPartialEq for SimpleType
Auto Trait Implementations§
impl RefUnwindSafe for SimpleType
impl Send for SimpleType
impl Sync for SimpleType
impl Unpin for SimpleType
impl UnwindSafe for SimpleType
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.