pub struct Tesselator { /* private fields */ }
Implementations§
Source§impl Tesselator
impl Tesselator
pub fn new() -> Self
pub fn set_option(&self, option: TesselatorOption, value: i32)
pub fn add_contour(&self, points: Vec<[Float; 2]>)
pub fn tesselate( &self, winding_rule: WindingRule, ) -> Option<(Vec<[Float; 2]>, Vec<u32>)>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Tesselator
impl RefUnwindSafe for Tesselator
impl !Send for Tesselator
impl !Sync for Tesselator
impl Unpin for Tesselator
impl UnwindSafe for Tesselator
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