pub struct TestV0 { /* private fields */ }Implementations§
Trait Implementations§
Source§impl ButtplugMessage for TestV0
impl ButtplugMessage for TestV0
Source§impl ButtplugMessageValidator for TestV0
impl ButtplugMessageValidator for TestV0
Source§fn is_valid(&self) -> Result<(), ButtplugMessageError>
fn is_valid(&self) -> Result<(), ButtplugMessageError>
Returns () if the message is valid, otherwise returns a message error.
fn is_system_id(&self, id: u32) -> Result<(), ButtplugMessageError>
fn is_not_system_id(&self, id: u32) -> Result<(), ButtplugMessageError>
fn is_in_command_range( &self, value: f64, error_msg: String, ) -> Result<(), ButtplugMessageError>
Source§impl<'de> Deserialize<'de> for TestV0
impl<'de> Deserialize<'de> for TestV0
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
impl Eq for TestV0
impl StructuralPartialEq for TestV0
Auto Trait Implementations§
impl Freeze for TestV0
impl RefUnwindSafe for TestV0
impl Send for TestV0
impl Sync for TestV0
impl Unpin for TestV0
impl UnwindSafe for TestV0
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