pub struct StubSession { /* private fields */ }Expand description
Hardware-free session used by headless device composition.
Implementations§
Source§impl StubSession
impl StubSession
Sourcepub fn new(profile: DeviceProfile) -> Self
pub fn new(profile: DeviceProfile) -> Self
Builds a stub session for the supplied profile.
Sourcepub fn is_started(&self) -> bool
pub fn is_started(&self) -> bool
Returns whether this stub session has been started.
Trait Implementations§
Source§impl Clone for StubSession
impl Clone for StubSession
Source§fn clone(&self) -> StubSession
fn clone(&self) -> StubSession
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 StubSession
impl Debug for StubSession
Source§impl DeviceSession for StubSession
impl DeviceSession for StubSession
impl Eq for StubSession
Source§impl PartialEq for StubSession
impl PartialEq for StubSession
impl StructuralPartialEq for StubSession
Auto Trait Implementations§
impl Freeze for StubSession
impl RefUnwindSafe for StubSession
impl Send for StubSession
impl Sync for StubSession
impl Unpin for StubSession
impl UnsafeUnpin for StubSession
impl UnwindSafe for StubSession
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