Struct libopenraw_sys::ffi_libopenraw::ORSRational
source · Expand description
@brief Signed rational as a fraction
Fields
num: i32< Numerator (carry the sign)
denom: u32< Denominator
Trait Implementations
sourceimpl Clone for ORSRational
impl Clone for ORSRational
sourcefn clone(&self) -> ORSRational
fn clone(&self) -> ORSRational
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 ORSRational
impl Debug for ORSRational
impl Copy for ORSRational
Auto Trait Implementations
impl RefUnwindSafe for ORSRational
impl Send for ORSRational
impl Sync for ORSRational
impl Unpin for ORSRational
impl UnwindSafe for ORSRational
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