pub struct QualifiedNameAndType {
pub name: QualifiedName,
pub ty: Ref<Type>,
}
Fields§
§name: QualifiedName
§ty: Ref<Type>
Implementations§
source§impl QualifiedNameAndType
impl QualifiedNameAndType
pub fn new(name: QualifiedName, ty: Ref<Type>) -> Self
Trait Implementations§
source§impl Clone for QualifiedNameAndType
impl Clone for QualifiedNameAndType
source§fn clone(&self) -> QualifiedNameAndType
fn clone(&self) -> QualifiedNameAndType
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 QualifiedNameAndType
impl Debug for QualifiedNameAndType
source§impl<T> From<(T, &Type)> for QualifiedNameAndTypewhere
T: Into<QualifiedName>,
impl<T> From<(T, &Type)> for QualifiedNameAndTypewhere
T: Into<QualifiedName>,
source§impl<T> From<(T, Ref<Type>)> for QualifiedNameAndTypewhere
T: Into<QualifiedName>,
impl<T> From<(T, Ref<Type>)> for QualifiedNameAndTypewhere
T: Into<QualifiedName>,
source§impl Hash for QualifiedNameAndType
impl Hash for QualifiedNameAndType
source§impl PartialEq for QualifiedNameAndType
impl PartialEq for QualifiedNameAndType
impl Eq for QualifiedNameAndType
impl StructuralPartialEq for QualifiedNameAndType
Auto Trait Implementations§
impl Freeze for QualifiedNameAndType
impl RefUnwindSafe for QualifiedNameAndType
impl Send for QualifiedNameAndType
impl Sync for QualifiedNameAndType
impl Unpin for QualifiedNameAndType
impl UnwindSafe for QualifiedNameAndType
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