pub struct DefaultExperiment {
pub start_time: f64,
pub stop_time: f64,
pub tolerance: f64,
}
Fields§
§start_time: f64
§stop_time: f64
§tolerance: f64
Trait Implementations§
Source§impl Clone for DefaultExperiment
impl Clone for DefaultExperiment
Source§fn clone(&self) -> DefaultExperiment
fn clone(&self) -> DefaultExperiment
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 moreSource§impl Debug for DefaultExperiment
impl Debug for DefaultExperiment
Source§impl Default for DefaultExperiment
impl Default for DefaultExperiment
Source§fn default() -> DefaultExperiment
fn default() -> DefaultExperiment
Returns the “default value” for a type. Read more
Source§impl PartialEq for DefaultExperiment
impl PartialEq for DefaultExperiment
Source§impl YaDeserialize for DefaultExperiment
impl YaDeserialize for DefaultExperiment
fn deserialize<R: Read>(reader: &mut Deserializer<R>) -> Result<Self, String>
Source§impl YaSerialize for DefaultExperiment
impl YaSerialize for DefaultExperiment
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>
fn serialize_attributes( &self, source_attributes: Vec<OwnedAttribute>, source_namespace: Namespace, ) -> Result<(Vec<OwnedAttribute>, Namespace), String>
impl StructuralPartialEq for DefaultExperiment
Auto Trait Implementations§
impl Freeze for DefaultExperiment
impl RefUnwindSafe for DefaultExperiment
impl Send for DefaultExperiment
impl Sync for DefaultExperiment
impl Unpin for DefaultExperiment
impl UnwindSafe for DefaultExperiment
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more