pub struct ConvSmoothPoly1<VS: VertexSource> { /* private fields */ }Expand description
Port of C++ conv_smooth_poly1<VertexSource>.
Implementations§
Source§impl<VS: VertexSource> ConvSmoothPoly1<VS>
impl<VS: VertexSource> ConvSmoothPoly1<VS>
pub fn new(source: VS) -> Self
pub fn set_smooth_value(&mut self, v: f64)
pub fn smooth_value(&self) -> f64
pub fn source(&self) -> &VS
pub fn source_mut(&mut self) -> &mut VS
Trait Implementations§
Source§impl<VS: VertexSource> VertexSource for ConvSmoothPoly1<VS>
impl<VS: VertexSource> VertexSource for ConvSmoothPoly1<VS>
Auto Trait Implementations§
impl<VS> Freeze for ConvSmoothPoly1<VS>where
VS: Freeze,
impl<VS> RefUnwindSafe for ConvSmoothPoly1<VS>where
VS: RefUnwindSafe,
impl<VS> Send for ConvSmoothPoly1<VS>where
VS: Send,
impl<VS> Sync for ConvSmoothPoly1<VS>where
VS: Sync,
impl<VS> Unpin for ConvSmoothPoly1<VS>where
VS: Unpin,
impl<VS> UnwindSafe for ConvSmoothPoly1<VS>where
VS: UnwindSafe,
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