pub struct OsdSyncImage {
pub png: Vec<u8>,
pub percent: u8,
}Expand description
The logo image for one slot.
Fields§
§png: Vec<u8>The PNG. Empty empties the slot.
percent: u8The size it is shown at: 0 at its own pixels, 1 to 100 its longer side as a percent of the large overlay.
Trait Implementations§
Source§impl Clone for OsdSyncImage
impl Clone for OsdSyncImage
Source§impl Debug for OsdSyncImage
impl Debug for OsdSyncImage
Source§impl Default for OsdSyncImage
impl Default for OsdSyncImage
impl Eq for OsdSyncImage
Source§impl PartialEq for OsdSyncImage
impl PartialEq for OsdSyncImage
impl StructuralPartialEq for OsdSyncImage
Auto Trait Implementations§
impl Freeze for OsdSyncImage
impl RefUnwindSafe for OsdSyncImage
impl Send for OsdSyncImage
impl Sync for OsdSyncImage
impl Unpin for OsdSyncImage
impl UnsafeUnpin for OsdSyncImage
impl UnwindSafe for OsdSyncImage
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