pub struct IdrisNamespaceBlock {
pub name: String,
pub decls: Vec<IdrisDecl>,
}Expand description
An Idris 2 namespace block.
Fields§
§name: StringNamespace name.
decls: Vec<IdrisDecl>Declarations in this namespace.
Implementations§
Trait Implementations§
Source§impl Clone for IdrisNamespaceBlock
impl Clone for IdrisNamespaceBlock
Source§fn clone(&self) -> IdrisNamespaceBlock
fn clone(&self) -> IdrisNamespaceBlock
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 IdrisNamespaceBlock
impl RefUnwindSafe for IdrisNamespaceBlock
impl Send for IdrisNamespaceBlock
impl Sync for IdrisNamespaceBlock
impl Unpin for IdrisNamespaceBlock
impl UnsafeUnpin for IdrisNamespaceBlock
impl UnwindSafe for IdrisNamespaceBlock
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