pub struct LinearTypeSystem {
pub language: String,
pub resource_tracking: bool,
pub affine_types: bool,
}Expand description
Linear type systems (connection to programming).
Fields§
§language: String§resource_tracking: bool§affine_types: boolImplementations§
Source§impl LinearTypeSystem
impl LinearTypeSystem
pub fn linear_haskell() -> Self
pub fn rust_ownership() -> Self
pub fn uniqueness_types(lang: &str) -> Self
pub fn prevents_use_after_free(&self) -> bool
Trait Implementations§
Source§impl Clone for LinearTypeSystem
impl Clone for LinearTypeSystem
Source§fn clone(&self) -> LinearTypeSystem
fn clone(&self) -> LinearTypeSystem
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 LinearTypeSystem
impl RefUnwindSafe for LinearTypeSystem
impl Send for LinearTypeSystem
impl Sync for LinearTypeSystem
impl Unpin for LinearTypeSystem
impl UnsafeUnpin for LinearTypeSystem
impl UnwindSafe for LinearTypeSystem
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