pub struct LocalBinding {
pub name: String,
pub type_annotation: Option<Type>,
pub span: Span,
}Fields§
§name: String§type_annotation: Option<Type>§span: SpanTrait Implementations§
Source§impl Clone for LocalBinding
impl Clone for LocalBinding
Source§fn clone(&self) -> LocalBinding
fn clone(&self) -> LocalBinding
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 LocalBinding
impl Debug for LocalBinding
Source§impl PartialEq for LocalBinding
impl PartialEq for LocalBinding
impl StructuralPartialEq for LocalBinding
Auto Trait Implementations§
impl Freeze for LocalBinding
impl RefUnwindSafe for LocalBinding
impl Send for LocalBinding
impl Sync for LocalBinding
impl Unpin for LocalBinding
impl UnwindSafe for LocalBinding
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