Struct flattiverse_connector::Polynomial
source · pub struct Polynomial { /* private fields */ }
Implementations
sourceimpl Polynomial
impl Polynomial
pub fn new(quad: f32, lin: f32, off: f32) -> Polynomial
pub fn from_reader(
connector: &Arc<Connector>,
reader: &mut dyn BinaryReader
) -> Result<Polynomial, Error>
pub fn value(&self, position: f32) -> f32
pub fn write(&self, writer: &mut dyn BinaryWriter) -> Result<(), Error>
Trait Implementations
sourceimpl Clone for Polynomial
impl Clone for Polynomial
sourcefn clone(&self) -> Polynomial
fn clone(&self) -> Polynomial
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for Polynomial
impl Debug for Polynomial
Auto Trait Implementations
impl !RefUnwindSafe for Polynomial
impl Send for Polynomial
impl Sync for Polynomial
impl Unpin for Polynomial
impl !UnwindSafe for Polynomial
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more