Struct freya_renderer::LaunchConfig
source · pub struct LaunchConfig<'a, T: Clone> {
pub window: WindowConfig<T>,
pub fonts: Vec<(&'a str, &'a [u8])>,
}
Expand description
Launch configuration.
Fields§
§window: WindowConfig<T>
§fonts: Vec<(&'a str, &'a [u8])>
Implementations§
source§impl<'a, T: Clone> LaunchConfig<'a, T>
impl<'a, T: Clone> LaunchConfig<'a, T>
pub fn builder() -> LaunchConfigBuilder<'a, T>
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> RefUnwindSafe for LaunchConfig<'a, T>where T: RefUnwindSafe,
impl<'a, T> Send for LaunchConfig<'a, T>where T: Send,
impl<'a, T> Sync for LaunchConfig<'a, T>where T: Sync,
impl<'a, T> Unpin for LaunchConfig<'a, T>where T: Unpin,
impl<'a, T> UnwindSafe for LaunchConfig<'a, T>where T: UnwindSafe,
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.