Struct servo_media::ServoMedia
source · pub struct ServoMedia(pub(crate) Box<dyn Backend>);
Tuple Fields§
§0: Box<dyn Backend>
Implementations§
source§impl ServoMedia
impl ServoMedia
pub fn init<B: BackendInit>()
pub fn init_with_backend<F>(backend_factory: F)
pub fn get() -> Result<Arc<ServoMedia>, ()>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ServoMedia
impl !RefUnwindSafe for ServoMedia
impl Send for ServoMedia
impl Sync for ServoMedia
impl Unpin for ServoMedia
impl !UnwindSafe for ServoMedia
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