pub enum NativeTypeKind {
Slice,
EnumeratedSlice,
Map,
Channel,
Sender,
Receiver,
String,
}Expand description
What kind of native built-in type (Slice, Map, Channel, etc.) a call targets.
Defined in syntax so that semantics can classify calls without depending on
emit-specific types. The emitter maps this to its internal NativeGoType.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for NativeTypeKind
impl Clone for NativeTypeKind
Source§fn clone(&self) -> NativeTypeKind
fn clone(&self) -> NativeTypeKind
Returns a duplicate 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 NativeTypeKind
impl Debug for NativeTypeKind
Source§impl PartialEq for NativeTypeKind
impl PartialEq for NativeTypeKind
impl Copy for NativeTypeKind
impl Eq for NativeTypeKind
impl StructuralPartialEq for NativeTypeKind
Auto Trait Implementations§
impl Freeze for NativeTypeKind
impl RefUnwindSafe for NativeTypeKind
impl Send for NativeTypeKind
impl Sync for NativeTypeKind
impl Unpin for NativeTypeKind
impl UnsafeUnpin for NativeTypeKind
impl UnwindSafe for NativeTypeKind
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