Struct
SetCameraEnabled
pub struct SetCameraEnabled(pub CameraEnabled);Tuple Fields
0: CameraEnabledTrait Implementations
impl AsScalar<4> for SetCameraEnabled
impl AsScalar<4> for SetCameraEnabled
fn as_scalar(&self) -> [u32; 4]
impl Clone for SetCameraEnabled
impl Clone for SetCameraEnabled
fn clone(&self) -> SetCameraEnabled
fn clone(&self) -> SetCameraEnabled
Returns a duplicate of the value. Read more
1.0.0fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Debug for SetCameraEnabled
impl Debug for SetCameraEnabled
impl FromScalar<4> for SetCameraEnabled
impl FromScalar<4> for SetCameraEnabled
fn from_scalar(value: [u32; 4]) -> Self
impl Hash for SetCameraEnabled
impl Hash for SetCameraEnabled
1.3.0fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
Self: Sized,
fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
Self: Sized,
Feeds a slice of this type into the given [
Hasher]. Read moreimpl MessageId for SetCameraEnabled
impl MessageId for SetCameraEnabled
const ID: MessageId = 69usize
const ID: MessageId = 69usize
unique message identifier
const SERVER: &'static str = "os/settings"
const SERVER: &'static str = "os/settings"
target server name
impl PartialEq for SetCameraEnabled
impl PartialEq for SetCameraEnabled
fn eq(&self, other: &SetCameraEnabled) -> bool
fn eq(&self, other: &SetCameraEnabled) -> bool
Tests for
self and other values to be equal, and is used by ==.1.0.0fn ne(&self, other: &Rhs) -> bool
fn ne(&self, other: &Rhs) -> bool
Tests for
!=. The default implementation is almost always sufficient,
and should not be overridden without very good reason.