pub struct FloatExporter { /* private fields */ }Expand description
FloatExport is used by a Hier instance to make summations of multiple RunningFloat instances.
Implementations§
Source§impl FloatExporter
FloatExporter creates a sum of RunningFloat instances.
impl FloatExporter
FloatExporter creates a sum of RunningFloat instances.
Sourcepub fn new() -> FloatExporter
pub fn new() -> FloatExporter
Creates a new FloatExporter instance.
Sourcepub fn push(&mut self, addend: Export)
pub fn push(&mut self, addend: Export)
Pushes a Rustics instance onto the list of instances to be summed.
Sourcepub fn make_member(
&mut self,
name: &str,
print_opts: &PrintOption,
) -> RunningFloat
pub fn make_member( &mut self, name: &str, print_opts: &PrintOption, ) -> RunningFloat
Makes a Rustics instance based on the given exports.
pub fn count(&self) -> usize
Trait Implementations§
Source§impl Clone for FloatExporter
impl Clone for FloatExporter
Source§fn clone(&self) -> FloatExporter
fn clone(&self) -> FloatExporter
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 Default for FloatExporter
impl Default for FloatExporter
Source§fn default() -> FloatExporter
fn default() -> FloatExporter
Returns the “default value” for a type. Read more
Source§impl HierExporter for FloatExporter
impl HierExporter for FloatExporter
Auto Trait Implementations§
impl Freeze for FloatExporter
impl !RefUnwindSafe for FloatExporter
impl !Send for FloatExporter
impl !Sync for FloatExporter
impl Unpin for FloatExporter
impl !UnwindSafe for FloatExporter
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