web-codecs 0.3.9

WASM bindings for Web Codecs
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct Dimensions {
	pub width: u32,
	pub height: u32,
}

impl Dimensions {
	pub fn new(width: u32, height: u32) -> Self {
		Self { width, height }
	}
}