pub struct Logo { /* private fields */ }Expand description
Header logo.
Implementations§
Source§impl Logo
impl Logo
Sourcepub fn save_png<P: AsRef<Path>>(&self, path: P) -> Result<(), LogoSaveError>
pub fn save_png<P: AsRef<Path>>(&self, path: P) -> Result<(), LogoSaveError>
Saves this Logo to a PNG image.
§Errors
This function will return an error if GrayImage::save fails.
Sourcepub fn decompress(data: &[u8]) -> Result<Self, LogoError>
pub fn decompress(data: &[u8]) -> Result<Self, LogoError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Logo
impl RefUnwindSafe for Logo
impl Send for Logo
impl Sync for Logo
impl Unpin for Logo
impl UnwindSafe for Logo
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