Struct ratatui_splash_screen::SplashConfig
source · pub struct SplashConfig<'a> {
pub image_data: &'a [u8],
pub sha256sum: Option<&'a str>,
pub render_steps: i32,
pub use_colors: bool,
}
Expand description
Splash screen configuration.
Fields§
§image_data: &'a [u8]
Image data.
sha256sum: Option<&'a str>
SHA256sum of the file.
render_steps: i32
Number of the rendering steps.
use_colors: bool
Whether to use colors.
Implementations§
source§impl<'a> SplashConfig<'a>
impl<'a> SplashConfig<'a>
Trait Implementations§
source§impl<'a> Clone for SplashConfig<'a>
impl<'a> Clone for SplashConfig<'a>
source§fn clone(&self) -> SplashConfig<'a>
fn clone(&self) -> SplashConfig<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for SplashConfig<'a>
impl<'a> Debug for SplashConfig<'a>
impl<'a> Copy for SplashConfig<'a>
Auto Trait Implementations§
impl<'a> Freeze for SplashConfig<'a>
impl<'a> RefUnwindSafe for SplashConfig<'a>
impl<'a> Send for SplashConfig<'a>
impl<'a> Sync for SplashConfig<'a>
impl<'a> Unpin for SplashConfig<'a>
impl<'a> UnwindSafe for SplashConfig<'a>
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