Struct lyon_tessellation::EventQueueBuilder
source · pub struct EventQueueBuilder { /* private fields */ }
Implementations§
source§impl EventQueueBuilder
impl EventQueueBuilder
pub fn new() -> Self
pub fn with_capacity(cap: usize) -> 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 Iterator<Item = PathEvent> )
pub fn set_path_with_ids( &mut self, tolerance: f32, sweep_orientation: Orientation, path_events: impl Iterator<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)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for EventQueueBuilder
impl Send for EventQueueBuilder
impl Sync for EventQueueBuilder
impl Unpin 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