pub struct SplashConfig {
pub min_duration: Option<u32>,
}Expand description
Runtime half of splash:. Images and colors are platform resources; only
the minimum hold time is a runtime decision, and the upper bound is a
framework constant that hosts deliberately cannot configure.
Fields§
§min_duration: Option<u32>Trait Implementations§
Source§impl Clone for SplashConfig
impl Clone for SplashConfig
Source§fn clone(&self) -> SplashConfig
fn clone(&self) -> SplashConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SplashConfig
impl Debug for SplashConfig
Source§impl Default for SplashConfig
impl Default for SplashConfig
Source§fn default() -> SplashConfig
fn default() -> SplashConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SplashConfig
impl<'de> Deserialize<'de> for SplashConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SplashConfig
Source§impl PartialEq for SplashConfig
impl PartialEq for SplashConfig
Source§impl Serialize for SplashConfig
impl Serialize for SplashConfig
impl StructuralPartialEq for SplashConfig
Auto Trait Implementations§
impl Freeze for SplashConfig
impl RefUnwindSafe for SplashConfig
impl Send for SplashConfig
impl Sync for SplashConfig
impl Unpin for SplashConfig
impl UnsafeUnpin for SplashConfig
impl UnwindSafe for SplashConfig
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