pub enum Scope {
Player(PlayerScope),
Map(MapScope),
Server(ServerScope),
}Variants§
Implementations§
Trait Implementations§
Source§impl From<PlayerScope> for Scope
impl From<PlayerScope> for Scope
Source§fn from(scope: PlayerScope) -> Self
fn from(scope: PlayerScope) -> Self
Converts to this type from the input type.
Source§impl From<ServerScope> for Scope
impl From<ServerScope> for Scope
Source§fn from(scope: ServerScope) -> Self
fn from(scope: ServerScope) -> Self
Converts to this type from the input type.
impl Eq for Scope
impl StructuralPartialEq for Scope
Auto Trait Implementations§
impl Freeze for Scope
impl RefUnwindSafe for Scope
impl Send for Scope
impl Sync for Scope
impl Unpin for Scope
impl UnwindSafe for Scope
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