Struct i_slint_compiler::embedded_resources::Texture
source · [−]pub struct Texture {
pub total_size: Size,
pub original_size: Size,
pub rect: Rect,
pub data: Vec<u8>,
pub format: PixelFormat,
}
Fields
total_size: Size
original_size: Size
rect: Rect
data: Vec<u8>
format: PixelFormat
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Texture
impl Send for Texture
impl Sync for Texture
impl Unpin for Texture
impl UnwindSafe for Texture
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more