#[repr(C)]pub enum PluginTargetMode {
CurrentChannel = 0,
Server = 1,
Client = 2,
CurrentChannelSubscribedClients = 3,
Max = 4,
}Variants§
CurrentChannel = 0
Send plugincmd to all clients in current channel
Server = 1
Send plugincmd to all clients on server
Client = 2
Send plugincmd to all given client ids
CurrentChannelSubscribedClients = 3
Send plugincmd to all subscribed clients in current channel
Max = 4
Trait Implementations§
Source§impl Clone for PluginTargetMode
impl Clone for PluginTargetMode
Source§fn clone(&self) -> PluginTargetMode
fn clone(&self) -> PluginTargetMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PluginTargetMode
Source§impl Debug for PluginTargetMode
impl Debug for PluginTargetMode
impl Eq for PluginTargetMode
Source§impl PartialEq for PluginTargetMode
impl PartialEq for PluginTargetMode
Source§fn eq(&self, other: &PluginTargetMode) -> bool
fn eq(&self, other: &PluginTargetMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PluginTargetMode
Auto Trait Implementations§
impl Freeze for PluginTargetMode
impl RefUnwindSafe for PluginTargetMode
impl Send for PluginTargetMode
impl Sync for PluginTargetMode
impl Unpin for PluginTargetMode
impl UnsafeUnpin for PluginTargetMode
impl UnwindSafe for PluginTargetMode
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