pub struct EventQueueBuilder { /* private fields */ }Implementations§
Source§impl EventQueueBuilder
impl EventQueueBuilder
pub fn new(tolerance: f32) -> Self
pub fn with_capacity(cap: usize, tolerance: f32) -> Self
pub fn set_tolerance(&mut self, tolerance: f32)
pub fn build(self) -> EventQueue
pub fn set_path( &mut self, tolerance: f32, sweep_orientation: Orientation, path: impl IntoIterator<Item = PathEvent>, )
pub fn set_path_with_ids( &mut self, tolerance: f32, sweep_orientation: Orientation, path_events: impl IntoIterator<Item = IdEvent>, points: &impl PositionStore, )
pub fn end(&mut self, first: Point, first_endpoint_id: EndpointId)
pub fn begin(&mut self, to: Point, to_id: EndpointId)
pub fn line_segment(&mut self, to: Point, to_id: EndpointId, t0: f32, t1: f32)
pub fn quadratic_bezier_segment( &mut self, ctrl: Point, to: Point, to_id: EndpointId, )
pub fn cubic_bezier_segment( &mut self, ctrl1: Point, ctrl2: Point, to: Point, to_id: EndpointId, )
pub fn reserve(&mut self, n: usize)
Auto Trait Implementations§
impl Freeze for EventQueueBuilder
impl RefUnwindSafe for EventQueueBuilder
impl Send for EventQueueBuilder
impl Sync for EventQueueBuilder
impl Unpin for EventQueueBuilder
impl UnsafeUnpin for EventQueueBuilder
impl UnwindSafe for EventQueueBuilder
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