pub struct PixelateParams {
pub block_size: f32,
/* private fields */
}Expand description
Parameters for pixelate.
Fields§
§block_size: f32Square block size in input pixels, 1.0..=256.0. 1.0 is a
pass-through.
Implementations§
Source§impl PixelateParams
impl PixelateParams
pub fn with_block_size(block_size: f32) -> Self
Trait Implementations§
Source§impl Clone for PixelateParams
impl Clone for PixelateParams
Source§fn clone(&self) -> PixelateParams
fn clone(&self) -> PixelateParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PixelateParams
Source§impl Debug for PixelateParams
impl Debug for PixelateParams
Source§impl Default for PixelateParams
impl Default for PixelateParams
Source§impl PartialEq for PixelateParams
impl PartialEq for PixelateParams
impl Pod for PixelateParams
impl StructuralPartialEq for PixelateParams
Auto Trait Implementations§
impl Freeze for PixelateParams
impl RefUnwindSafe for PixelateParams
impl Send for PixelateParams
impl Sync for PixelateParams
impl Unpin for PixelateParams
impl UnsafeUnpin for PixelateParams
impl UnwindSafe for PixelateParams
Blanket Implementations§
impl<T> AnyBitPattern for Twhere
T: Pod,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.