pub struct Components {
pub x: u32,
pub y: u32,
}
Expand description
How many components should be used in blurhash creation
More components will increase the definition of the blurhash, but also increase processing time.
Fields§
§x: u32
How many components to process in the x direction
y: u32
How many components to process in the y direction
Auto Trait Implementations§
impl Freeze for Components
impl RefUnwindSafe for Components
impl Send for Components
impl Sync for Components
impl Unpin for Components
impl UnwindSafe for Components
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