pub struct InductiveDecl {
pub lparams: Rc<[NameId]>,
pub nparams: u32,
pub types: Vec<IndType>,
pub is_unsafe: bool,
}Fields§
§lparams: Rc<[NameId]>§nparams: u32§types: Vec<IndType>§is_unsafe: boolTrait Implementations§
Source§impl Clone for InductiveDecl
impl Clone for InductiveDecl
Source§fn clone(&self) -> InductiveDecl
fn clone(&self) -> InductiveDecl
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 moreAuto Trait Implementations§
impl Freeze for InductiveDecl
impl RefUnwindSafe for InductiveDecl
impl !Send for InductiveDecl
impl !Sync for InductiveDecl
impl Unpin for InductiveDecl
impl UnsafeUnpin for InductiveDecl
impl UnwindSafe for InductiveDecl
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