pub struct RecorderState<Inst: FmiInstance> { /* private fields */ }
Implementations§
Source§impl<Inst> RecorderState<Inst>where
Inst: FmiInstance,
impl<Inst> RecorderState<Inst>where
Inst: FmiInstance,
pub fn new<Import: ImportSchemaBuilder<ValueRef = Inst::ValueRef>>( import: &Import, sim_params: &SimParams, ) -> Self
Sourcepub fn finish(self) -> RecordBatch
pub fn finish(self) -> RecordBatch
Finish the output state and return the RecordBatch.
Auto Trait Implementations§
impl<Inst> Freeze for RecorderState<Inst>
impl<Inst> !RefUnwindSafe for RecorderState<Inst>
impl<Inst> Send for RecorderState<Inst>
impl<Inst> Sync for RecorderState<Inst>
impl<Inst> Unpin for RecorderState<Inst>
impl<Inst> !UnwindSafe for RecorderState<Inst>
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> 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