Struct pdf::object::InterpolatedFunctionDim
source · pub struct InterpolatedFunctionDim {
pub input_range: (f32, f32),
pub output_range: (f32, f32),
pub c0: f32,
pub c1: f32,
pub exponent: f32,
}
Fields§
§input_range: (f32, f32)
§output_range: (f32, f32)
§c0: f32
§c1: f32
§exponent: f32
Implementations§
Trait Implementations§
source§impl Clone for InterpolatedFunctionDim
impl Clone for InterpolatedFunctionDim
source§fn clone(&self) -> InterpolatedFunctionDim
fn clone(&self) -> InterpolatedFunctionDim
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 DataSize for InterpolatedFunctionDim
impl DataSize for InterpolatedFunctionDim
source§const IS_DYNAMIC: bool = false
const IS_DYNAMIC: bool = false
If
true
, the type has a heap size that can vary at runtime, depending on the actual value.source§const STATIC_HEAP_SIZE: usize = 0usize
const STATIC_HEAP_SIZE: usize = 0usize
The amount of space a value of the type always occupies. If
IS_DYNAMIC
is false, this is
the total amount of heap memory occupied by the value. Otherwise this is a lower bound.source§fn estimate_heap_size(&self) -> usize
fn estimate_heap_size(&self) -> usize
Estimates the size of heap memory taken up by this value. Read more
Auto Trait Implementations§
impl RefUnwindSafe for InterpolatedFunctionDim
impl Send for InterpolatedFunctionDim
impl Sync for InterpolatedFunctionDim
impl Unpin for InterpolatedFunctionDim
impl UnwindSafe for InterpolatedFunctionDim
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