#[repr(C)]pub struct msdfgen_SignedDistance {
pub distance: f64,
pub dot: f64,
}Expand description
Represents a signed distance and alignment, which together can be compared to uniquely determine the closest edge segment.
Fields§
§distance: f64§dot: f64Implementations§
Trait Implementations§
Source§impl Clone for msdfgen_SignedDistance
impl Clone for msdfgen_SignedDistance
Source§fn clone(&self) -> msdfgen_SignedDistance
fn clone(&self) -> msdfgen_SignedDistance
Returns a duplicate 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 msdfgen_SignedDistance
impl Debug for msdfgen_SignedDistance
impl Copy for msdfgen_SignedDistance
Auto Trait Implementations§
impl Freeze for msdfgen_SignedDistance
impl RefUnwindSafe for msdfgen_SignedDistance
impl Send for msdfgen_SignedDistance
impl Sync for msdfgen_SignedDistance
impl Unpin for msdfgen_SignedDistance
impl UnwindSafe for msdfgen_SignedDistance
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