Struct ezno_checker::types::functions::SynthesisedParameter
source · pub struct SynthesisedParameter {
pub name: String,
pub ty: TypeId,
pub position: SpanWithSource,
pub missing_value: Option<TypeId>,
}Expand description
Optionality is indicated by what vector it is in SynthesisedParameters
Fields§
§name: String§ty: TypeIdThis is the generic parameter type, not the restriction
position: SpanWithSource§missing_value: Option<TypeId>For optional parameters this is TypeId::UNDEFINED_TYPE else some type
Trait Implementations§
source§impl Clone for SynthesisedParameter
impl Clone for SynthesisedParameter
source§fn clone(&self) -> SynthesisedParameter
fn clone(&self) -> SynthesisedParameter
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 moreAuto Trait Implementations§
impl RefUnwindSafe for SynthesisedParameter
impl Send for SynthesisedParameter
impl Sync for SynthesisedParameter
impl Unpin for SynthesisedParameter
impl UnwindSafe for SynthesisedParameter
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