pub struct BasicEdgeBuilder {
edges: Vec<Edge>,
clip_shift: i32,
}Fields§
§edges: Vec<Edge>§clip_shift: i32Implementations§
Source§impl BasicEdgeBuilder
impl BasicEdgeBuilder
pub fn new(clip_shift: i32) -> Self
pub fn build_edges( path: &Path, clip: Option<&ShiftedIntRect>, clip_shift: i32, ) -> Option<Vec<Edge>>
pub fn build( &mut self, path: &Path, clip: Option<&ShiftedIntRect>, can_cull_to_the_right: bool, ) -> bool
fn push_line(&mut self, points: &[Point; 2])
fn push_quad(&mut self, points: &[Point])
fn push_cubic(&mut self, points: &[Point])
Auto Trait Implementations§
impl Freeze for BasicEdgeBuilder
impl RefUnwindSafe for BasicEdgeBuilder
impl Send for BasicEdgeBuilder
impl Sync for BasicEdgeBuilder
impl Unpin for BasicEdgeBuilder
impl UnsafeUnpin for BasicEdgeBuilder
impl UnwindSafe for BasicEdgeBuilder
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