Struct erg_compiler::hir::ReDef
source · pub struct ReDef {
pub attr: Accessor,
pub block: Block,
}
Fields§
§attr: Accessor
§block: Block
Implementations§
Trait Implementations§
source§impl HasType for ReDef
impl HasType for ReDef
fn ref_t(&self) -> &Type
fn ref_mut_t(&mut self) -> Option<&mut Type>
fn signature_t(&self) -> Option<&Type>
fn signature_mut_t(&mut self) -> Option<&mut Type>
fn t(&self) -> Type
fn inner_ts(&self) -> Vec<Type>
fn lhs_t(&self) -> &Type
fn rhs_t(&self) -> &Type
source§impl Locational for ReDef
impl Locational for ReDef
source§impl NestedDisplay for ReDef
impl NestedDisplay for ReDef
source§impl NoTypeDisplay for ReDef
impl NoTypeDisplay for ReDef
fn to_string_notype(&self) -> String
impl Eq for ReDef
impl StructuralPartialEq for ReDef
Auto Trait Implementations§
impl Freeze for ReDef
impl RefUnwindSafe for ReDef
impl Send for ReDef
impl Sync for ReDef
impl Unpin for ReDef
impl UnwindSafe for ReDef
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
)