pub struct SdlContext {
pub sdl: Sdl,
}
Expand description
Provides access to the main Sdl instance.
Fields§
§sdl: Sdl
Implementations§
Source§impl SdlContext
impl SdlContext
Trait Implementations§
Source§impl Default for SdlContext
impl Default for SdlContext
impl Subcontext for SdlContext
Auto Trait Implementations§
impl Freeze for SdlContext
impl RefUnwindSafe for SdlContext
impl !Send for SdlContext
impl !Sync for SdlContext
impl Unpin for SdlContext
impl UnwindSafe for SdlContext
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