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 for StructuralTypeObj
impl PartialEq for StructuralTypeObj
impl Eq for StructuralTypeObj
impl StructuralPartialEq for StructuralTypeObj
Auto Trait Implementations§
impl Freeze for StructuralTypeObj
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)