Struct erg_compiler::ty::value::StructuralTypeObj
source · pub struct StructuralTypeObj {
pub t: Type,
pub base: Box<TypeObj>,
}
Fields§
§t: Type
§base: Box<TypeObj>
Implementations§
Trait Implementations§
source§impl Clone for StructuralTypeObj
impl Clone for StructuralTypeObj
source§fn clone(&self) -> StructuralTypeObj
fn clone(&self) -> StructuralTypeObj
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 StructuralTypeObj
impl Debug for StructuralTypeObj
source§impl Hash for StructuralTypeObj
impl Hash for StructuralTypeObj
source§impl PartialEq<StructuralTypeObj> for StructuralTypeObj
impl PartialEq<StructuralTypeObj> for StructuralTypeObj
source§fn eq(&self, other: &StructuralTypeObj) -> bool
fn eq(&self, other: &StructuralTypeObj) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for StructuralTypeObj
impl StructuralEq for StructuralTypeObj
impl StructuralPartialEq for StructuralTypeObj
Auto Trait Implementations§
impl !RefUnwindSafe for StructuralTypeObj
impl !Send for StructuralTypeObj
impl !Sync for StructuralTypeObj
impl Unpin for StructuralTypeObj
impl !UnwindSafe for StructuralTypeObj
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