pub struct Camera3Service { /* private fields */ }Implementations§
Source§impl Camera3Service
impl Camera3Service
pub fn new(has_camera_device: bool) -> Self
pub fn new_delayed_devices(delay_camera_device: bool) -> Self
pub fn camera_sw_muted(&self) -> bool
pub fn set_camera_sw_muted(&self, muted: bool)
Trait Implementations§
Source§impl Service for Camera3Service
impl Service for Camera3Service
Source§fn can_handle_service(&self, service_name: &str) -> bool
fn can_handle_service(&self, service_name: &str) -> bool
Returns true if this service can process the given service name, false
otherwise.
Auto Trait Implementations§
impl Freeze for Camera3Service
impl RefUnwindSafe for Camera3Service
impl !Send for Camera3Service
impl !Sync for Camera3Service
impl Unpin for Camera3Service
impl UnsafeUnpin for Camera3Service
impl UnwindSafe for Camera3Service
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
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more