pub enum TypeHandle {
Direct,
Optional,
VarArgs,
}
Expand description
Used by sl_sh_fn macro to embed information at runtime about the parameters of the rust native function, specifically whether it is a normal Type, or some supported wrapped type, e.g. Optional.
Variants§
Trait Implementations§
Source§impl Clone for TypeHandle
impl Clone for TypeHandle
Source§fn clone(&self) -> TypeHandle
fn clone(&self) -> TypeHandle
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 TypeHandle
impl Debug for TypeHandle
Source§impl PartialEq for TypeHandle
impl PartialEq for TypeHandle
impl Copy for TypeHandle
impl Eq for TypeHandle
impl StructuralPartialEq for TypeHandle
Auto Trait Implementations§
impl Freeze for TypeHandle
impl RefUnwindSafe for TypeHandle
impl Send for TypeHandle
impl Sync for TypeHandle
impl Unpin for TypeHandle
impl UnwindSafe for TypeHandle
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