#[repr(C)]pub struct ncfadectx { /* private fields */ }Implementations
sourceimpl ncfadectx
impl ncfadectx
sourcepub fn setup(plane: &mut NcPlane) -> &mut NcFadeCtx
pub fn setup(plane: &mut NcPlane) -> &mut NcFadeCtx
NcFadeCtx constructor.
Rather than the simple ncplane_fade{in/out}(), ncfadectx_setup() can be paired with a loop over ncplane_fade{in/out}_iteration() + ncfadectx_free().
sourcepub fn iterations(&self) -> u32
pub fn iterations(&self) -> u32
Returns the number of iterations through which will fade.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ncfadectx
impl Send for ncfadectx
impl Sync for ncfadectx
impl Unpin for ncfadectx
impl UnwindSafe for ncfadectx
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more