Struct buttplug::core::message::ClientDeviceMessageAttributesV3
source · pub struct ClientDeviceMessageAttributesV3 { /* private fields */ }Implementations§
source§impl ClientDeviceMessageAttributesV3
impl ClientDeviceMessageAttributesV3
pub fn scalar_cmd(&self) -> &Option<Vec<ClientGenericDeviceMessageAttributesV3>>
pub fn rotate_cmd(&self) -> &Option<Vec<ClientGenericDeviceMessageAttributesV3>>
pub fn linear_cmd(&self) -> &Option<Vec<ClientGenericDeviceMessageAttributesV3>>
pub fn sensor_read_cmd(&self) -> &Option<Vec<SensorDeviceMessageAttributesV3>>
pub fn sensor_subscribe_cmd( &self, ) -> &Option<Vec<SensorDeviceMessageAttributesV3>>
pub fn stop_device_cmd(&self) -> &NullDeviceMessageAttributesV1
pub fn raw_read_cmd(&self) -> &Option<RawDeviceMessageAttributesV2>
pub fn raw_write_cmd(&self) -> &Option<RawDeviceMessageAttributesV2>
pub fn raw_subscribe_cmd(&self) -> &Option<RawDeviceMessageAttributesV2>
pub fn fleshlight_launch_fw12_cmd( &self, ) -> &Option<NullDeviceMessageAttributesV1>
pub fn vorze_a10_cyclone_cmd(&self) -> &Option<NullDeviceMessageAttributesV1>
source§impl ClientDeviceMessageAttributesV3
impl ClientDeviceMessageAttributesV3
pub fn raw_unsubscribe_cmd(&self) -> &Option<RawDeviceMessageAttributesV2>
pub fn message_allowed(&self, message_type: &ButtplugDeviceMessageType) -> bool
pub fn finalize(&mut self)
Trait Implementations§
source§impl Clone for ClientDeviceMessageAttributesV3
impl Clone for ClientDeviceMessageAttributesV3
source§fn clone(&self) -> ClientDeviceMessageAttributesV3
fn clone(&self) -> ClientDeviceMessageAttributesV3
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for ClientDeviceMessageAttributesV3
impl Default for ClientDeviceMessageAttributesV3
source§fn default() -> ClientDeviceMessageAttributesV3
fn default() -> ClientDeviceMessageAttributesV3
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ClientDeviceMessageAttributesV3
impl<'de> Deserialize<'de> for ClientDeviceMessageAttributesV3
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<ClientDeviceMessageAttributesV3> for ClientDeviceMessageAttributesV2
impl From<ClientDeviceMessageAttributesV3> for ClientDeviceMessageAttributesV2
source§fn from(other: ClientDeviceMessageAttributesV3) -> Self
fn from(other: ClientDeviceMessageAttributesV3) -> Self
Converts to this type from the input type.
source§impl From<Vec<DeviceFeature>> for ClientDeviceMessageAttributesV3
impl From<Vec<DeviceFeature>> for ClientDeviceMessageAttributesV3
source§fn from(features: Vec<DeviceFeature>) -> Self
fn from(features: Vec<DeviceFeature>) -> Self
Converts to this type from the input type.
source§impl PartialEq for ClientDeviceMessageAttributesV3
impl PartialEq for ClientDeviceMessageAttributesV3
source§fn eq(&self, other: &ClientDeviceMessageAttributesV3) -> bool
fn eq(&self, other: &ClientDeviceMessageAttributesV3) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ClientDeviceMessageAttributesV3
impl StructuralPartialEq for ClientDeviceMessageAttributesV3
Auto Trait Implementations§
impl Freeze for ClientDeviceMessageAttributesV3
impl RefUnwindSafe for ClientDeviceMessageAttributesV3
impl Send for ClientDeviceMessageAttributesV3
impl Sync for ClientDeviceMessageAttributesV3
impl Unpin for ClientDeviceMessageAttributesV3
impl UnwindSafe for ClientDeviceMessageAttributesV3
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)