pub struct DependentTypeExample {
pub type_name: String,
pub type_signature: String,
pub invariant: String,
pub language: String,
}Fields§
§type_name: String§type_signature: String§invariant: String§language: StringImplementations§
Source§impl DependentTypeExample
impl DependentTypeExample
pub fn fixed_length_vector(elem_type: &str, n: usize) -> Self
pub fn sorted_list(elem_type: &str) -> Self
pub fn fin_type(n: usize) -> Self
pub fn type_safety_guarantee(&self) -> String
pub fn extraction_to_code(&self) -> String
Trait Implementations§
Source§impl Clone for DependentTypeExample
impl Clone for DependentTypeExample
Source§fn clone(&self) -> DependentTypeExample
fn clone(&self) -> DependentTypeExample
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 DependentTypeExample
impl RefUnwindSafe for DependentTypeExample
impl Send for DependentTypeExample
impl Sync for DependentTypeExample
impl Unpin for DependentTypeExample
impl UnsafeUnpin for DependentTypeExample
impl UnwindSafe for DependentTypeExample
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