pub struct TypeBinder {
pub name: String,
pub tpe: Type,
}Expand description
Bind a name and a type together. Used in function and let expression
Fields§
§name: String§tpe: TypeTrait Implementations§
Source§impl Clone for TypeBinder
impl Clone for TypeBinder
Source§fn clone(&self) -> TypeBinder
fn clone(&self) -> TypeBinder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TypeBinder
impl RefUnwindSafe for TypeBinder
impl Send for TypeBinder
impl Sync for TypeBinder
impl Unpin for TypeBinder
impl UnsafeUnpin for TypeBinder
impl UnwindSafe for TypeBinder
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