[−][src]Struct visionmagic::simplification::Processor
Implementations
impl Processor
[src]
Trait Implementations
impl Default for Processor
[src]
impl Processor for Processor
[src]
type Input = Input
Type definition of input
type Output = Output
Type definition of output
type Params = Params
Type definition of parameters
pub fn new() -> Self
[src]
pub fn config(&mut self, params: Params) -> bool
[src]
configure simplification parameters; can be reconfigured on runtime
pub fn input(&mut self, input: Input) -> bool
[src]
pub fn tick(&mut self) -> bool
[src]
pub fn progress(&self) -> u32
[src]
pub fn output(&mut self) -> Output
[src]
buffered output; can be called after each tick or when process ends; each call clears the buffer
Auto Trait Implementations
impl RefUnwindSafe for Processor
[src]
impl Send for Processor
[src]
impl Sync for Processor
[src]
impl Unpin for Processor
[src]
impl UnwindSafe for Processor
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,