#[repr(C)]pub struct ucs_linear_func_t {
pub c: f64,
pub m: f64,
}Expand description
A 1d linear function, represented as f(x) = c + x * m.
Fields§
§c: f64§m: f64Trait Implementations§
Source§impl Clone for ucs_linear_func_t
impl Clone for ucs_linear_func_t
Source§fn clone(&self) -> ucs_linear_func_t
fn clone(&self) -> ucs_linear_func_t
Returns a copy 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 ucs_linear_func_t
impl Debug for ucs_linear_func_t
impl Copy for ucs_linear_func_t
Auto Trait Implementations§
impl Freeze for ucs_linear_func_t
impl RefUnwindSafe for ucs_linear_func_t
impl Send for ucs_linear_func_t
impl Sync for ucs_linear_func_t
impl Unpin for ucs_linear_func_t
impl UnwindSafe for ucs_linear_func_t
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