Home
last modified time | relevance | path

Searched defs:u8 (Results 1 – 5 of 5) sorted by relevance

/StarryEngine/starry_client/src/base/
H A Dcolor.rs13 pub const fn rgb(r: u8, g: u8, b: u8) -> Self { in rgb()
20 pub const fn rgba(r: u8, g: u8, b: u8, a: u8) -> Self { in rgba()
27 pub fn r(&self) -> u8 { in r()
32 pub fn g(&self) -> u8 { in g()
37 pub fn b(&self) -> u8 { in b()
42 pub fn a(&self) -> u8 { in a()
56 fn value_interpolate(from_value: u8, to_value: u8, scale: f64) -> u8 { in value_interpolate()
H A Drenderer.rs224 fn arc(&mut self, x0: i32, y0: i32, radius: i32, parts: u8, color: Color) { in arc()
/StarryEngine/starry_toolkit/src/widgets/
H A Dimage.rs68 pub fn set_from_path(&self, path: &[u8]) { in set_from_path()
/StarryEngine/starry_server/src/core/
H A Dwindow_manager.rs117 image_path: &[u8], in window_new()
/StarryEngine/starry_server/src/base/
H A Dimage.rs341 unsafe { slice::from_raw_parts(self.data.as_ptr() as *const u8, self.data.len() * 4) }; in resize() constant