pub struct AssociatedTypeBinding {
pub name: String,
pub concrete_type: TypeAnnotation,
}Expand description
A concrete binding for an associated type inside an impl block:
type Item = number;
Fields§
§name: String§concrete_type: TypeAnnotationTrait Implementations§
Source§impl Clone for AssociatedTypeBinding
impl Clone for AssociatedTypeBinding
Source§fn clone(&self) -> AssociatedTypeBinding
fn clone(&self) -> AssociatedTypeBinding
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 AssociatedTypeBinding
impl Debug for AssociatedTypeBinding
Source§impl<'de> Deserialize<'de> for AssociatedTypeBinding
impl<'de> Deserialize<'de> for AssociatedTypeBinding
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AssociatedTypeBinding
impl RefUnwindSafe for AssociatedTypeBinding
impl Send for AssociatedTypeBinding
impl Sync for AssociatedTypeBinding
impl Unpin for AssociatedTypeBinding
impl UnsafeUnpin for AssociatedTypeBinding
impl UnwindSafe for AssociatedTypeBinding
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