pub struct RubyMethodContract {
pub preconditions: Vec<String>,
pub postconditions: Vec<String>,
}Expand description
Ruby method contract
Fields§
§preconditions: Vec<String>§postconditions: Vec<String>Implementations§
Trait Implementations§
Source§impl Clone for RubyMethodContract
impl Clone for RubyMethodContract
Source§fn clone(&self) -> RubyMethodContract
fn clone(&self) -> RubyMethodContract
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 RubyMethodContract
impl RefUnwindSafe for RubyMethodContract
impl Send for RubyMethodContract
impl Sync for RubyMethodContract
impl Unpin for RubyMethodContract
impl UnsafeUnpin for RubyMethodContract
impl UnwindSafe for RubyMethodContract
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