pub struct Bmp {
pub file: PathBuf,
pub transparent_color: Argb,
}
Expand description
A background image/video data.
Fields§
§file: PathBuf
The path to the image/video file. This is relative path from the BMS file.
transparent_color: Argb
The color which should to be treated as transparent. It should be used only if file
is an image.
Trait Implementations§
impl Eq for Bmp
impl StructuralEq for Bmp
impl StructuralPartialEq for Bmp
Auto Trait Implementations§
impl RefUnwindSafe for Bmp
impl Send for Bmp
impl Sync for Bmp
impl Unpin for Bmp
impl UnwindSafe for Bmp
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