Struct rosu_pp::model::hit_object::PathControlPoint
source · pub struct PathControlPoint {
pub pos: Pos,
pub path_type: Option<PathType>,
}
Expand description
A positional control point of a curve.
Fields§
§pos: Pos
§path_type: Option<PathType>
Implementations§
source§impl PathControlPoint
impl PathControlPoint
sourcepub const fn new(pos: Pos) -> PathControlPoint
pub const fn new(pos: Pos) -> PathControlPoint
Initialize a new PathControlPoint
.
Trait Implementations§
source§impl Clone for PathControlPoint
impl Clone for PathControlPoint
source§fn clone(&self) -> PathControlPoint
fn clone(&self) -> PathControlPoint
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 Debug for PathControlPoint
impl Debug for PathControlPoint
source§impl Default for PathControlPoint
impl Default for PathControlPoint
source§fn default() -> PathControlPoint
fn default() -> PathControlPoint
Returns the “default value” for a type. Read more
source§impl PartialEq for PathControlPoint
impl PartialEq for PathControlPoint
source§fn eq(&self, other: &PathControlPoint) -> bool
fn eq(&self, other: &PathControlPoint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PathControlPoint
impl StructuralPartialEq for PathControlPoint
Auto Trait Implementations§
impl Freeze for PathControlPoint
impl RefUnwindSafe for PathControlPoint
impl Send for PathControlPoint
impl Sync for PathControlPoint
impl Unpin for PathControlPoint
impl UnwindSafe for PathControlPoint
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