pub struct Core(/* private fields */);
Implementations§
Source§impl Core
impl Core
pub fn ansi(&self) -> bool
pub fn min_rate(&self) -> u16
pub fn max_rate(&self) -> u16
pub fn pixelation(&self) -> u8
pub fn line_shift(&self) -> f64
pub fn reverse(&self) -> f64
pub fn flip(&self) -> f64
pub fn channel_swap(&self) -> f64
pub fn channel_shift(&self) -> f64
pub fn seed(&self) -> u64
pub fn set_ansi(&mut self, value: bool)
pub fn set_min_rate(&mut self, value: u16)
pub fn set_max_rate(&mut self, value: u16)
pub fn set_pixelation(&mut self, value: u8)
pub fn set_line_shift(&mut self, value: f64)
pub fn set_reverse(&mut self, value: f64)
pub fn set_flip(&mut self, value: f64)
pub fn set_channel_swap(&mut self, value: f64)
pub fn set_channel_shift(&mut self, value: f64)
pub fn new_seed(&mut self)
Trait Implementations§
Source§impl FromWasmAbi for Core
impl FromWasmAbi for Core
Source§impl IntoWasmAbi for Core
impl IntoWasmAbi for Core
Source§impl LongRefFromWasmAbi for Core
impl LongRefFromWasmAbi for Core
Source§impl OptionFromWasmAbi for Core
impl OptionFromWasmAbi for Core
Source§impl OptionIntoWasmAbi for Core
impl OptionIntoWasmAbi for Core
Source§impl RefFromWasmAbi for Core
impl RefFromWasmAbi for Core
Source§impl RefMutFromWasmAbi for Core
impl RefMutFromWasmAbi for Core
Source§impl TryFromJsValue for Core
impl TryFromJsValue for Core
Source§impl VectorFromWasmAbi for Core
impl VectorFromWasmAbi for Core
Source§impl VectorIntoWasmAbi for Core
impl VectorIntoWasmAbi for Core
impl SupportsConstructor for Core
impl SupportsInstanceProperty for Core
impl SupportsStaticProperty for Core
Auto Trait Implementations§
impl Freeze for Core
impl RefUnwindSafe for Core
impl Send for Core
impl Sync for Core
impl Unpin for Core
impl UnwindSafe for Core
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
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
Source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.