pub struct IdrisParametersBlock {
pub params: Vec<(String, IdrisType)>,
pub decls: Vec<IdrisDecl>,
}Expand description
A parameters block, grouping shared implicit parameters.
Fields§
§params: Vec<(String, IdrisType)>Shared parameters declared for all contained definitions.
decls: Vec<IdrisDecl>Declarations inside the block.
Implementations§
Trait Implementations§
Source§impl Clone for IdrisParametersBlock
impl Clone for IdrisParametersBlock
Source§fn clone(&self) -> IdrisParametersBlock
fn clone(&self) -> IdrisParametersBlock
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 IdrisParametersBlock
impl RefUnwindSafe for IdrisParametersBlock
impl Send for IdrisParametersBlock
impl Sync for IdrisParametersBlock
impl Unpin for IdrisParametersBlock
impl UnsafeUnpin for IdrisParametersBlock
impl UnwindSafe for IdrisParametersBlock
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