pub struct PluginData { /* private fields */ }
Expand description
Data for OpenRGB
plugins.
Implementations§
Source§impl PluginData
impl PluginData
Sourcepub fn description(&self) -> &str
pub fn description(&self) -> &str
Returns the description of this plugin.
Sourcepub fn plugin_protocol_version(&self) -> u32
pub fn plugin_protocol_version(&self) -> u32
Returns the protocol version of this plugin.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PluginData
impl RefUnwindSafe for PluginData
impl Send for PluginData
impl Sync for PluginData
impl Unpin for PluginData
impl UnwindSafe for PluginData
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