pub struct QuadraticBezier {
pub x1: f32,
pub y1: f32,
pub x2: f32,
pub y2: f32,
}
Fields§
§x1: f32
§y1: f32
§x2: f32
§y2: f32
Trait Implementations§
Source§impl Clone for QuadraticBezier
impl Clone for QuadraticBezier
Source§fn clone(&self) -> QuadraticBezier
fn clone(&self) -> QuadraticBezier
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for QuadraticBezier
impl Debug for QuadraticBezier
Source§impl Default for QuadraticBezier
impl Default for QuadraticBezier
Source§fn default() -> QuadraticBezier
fn default() -> QuadraticBezier
Returns the “default value” for a type. Read more
Source§impl Display for QuadraticBezier
impl Display for QuadraticBezier
Source§impl PartialEq for QuadraticBezier
impl PartialEq for QuadraticBezier
impl Copy for QuadraticBezier
impl StructuralPartialEq for QuadraticBezier
Auto Trait Implementations§
impl Freeze for QuadraticBezier
impl RefUnwindSafe for QuadraticBezier
impl Send for QuadraticBezier
impl Sync for QuadraticBezier
impl Unpin for QuadraticBezier
impl UnwindSafe for QuadraticBezier
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.