pub struct SRange { /* private fields */ }Implementations§
Source§impl SRange
impl SRange
pub fn s0(&self) -> f64
pub fn s1(&self) -> f64
pub fn set_s0(self: Pin<&mut Self>, s0: f64)
pub fn set_s1(self: Pin<&mut Self>, s1: f64)
pub fn size(&self) -> f64
pub fn WithS(&self) -> bool
pub fn Intersects(&self, other: &SRange, tolerance: f64) -> bool
pub fn Contains(&self, s_range: &SRange, tolerance: f64) -> bool
Trait Implementations§
Source§impl ExternType for SRange
impl ExternType for SRange
impl UniquePtrTarget for SRange
Auto Trait Implementations§
impl !Freeze for SRange
impl RefUnwindSafe for SRange
impl !Send for SRange
impl !Sync for SRange
impl !Unpin for SRange
impl UnwindSafe for SRange
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