pub struct ModeratorToolPreferences {
pub window_x: i32,
pub window_y: i32,
pub window_width: i32,
pub window_height: i32,
}
Fields§
§window_x: i32
§window_y: i32
§window_width: i32
§window_height: i32
Trait Implementations§
source§impl BaseParser for ModeratorToolPreferences
impl BaseParser for ModeratorToolPreferences
fn parse(packet: &mut HPacket) -> Self
fn append_to_packet(&self, packet: &mut HPacket)
fn get_direction() -> HDirection
fn get_packet_name() -> String
source§impl Clone for ModeratorToolPreferences
impl Clone for ModeratorToolPreferences
source§fn clone(&self) -> ModeratorToolPreferences
fn clone(&self) -> ModeratorToolPreferences
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 Debug for ModeratorToolPreferences
impl Debug for ModeratorToolPreferences
source§impl Default for ModeratorToolPreferences
impl Default for ModeratorToolPreferences
source§fn default() -> ModeratorToolPreferences
fn default() -> ModeratorToolPreferences
Returns the “default value” for a type. Read more
source§impl PartialEq<ModeratorToolPreferences> for ModeratorToolPreferences
impl PartialEq<ModeratorToolPreferences> for ModeratorToolPreferences
source§fn eq(&self, other: &ModeratorToolPreferences) -> bool
fn eq(&self, other: &ModeratorToolPreferences) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ModeratorToolPreferences
Auto Trait Implementations§
impl RefUnwindSafe for ModeratorToolPreferences
impl Send for ModeratorToolPreferences
impl Sync for ModeratorToolPreferences
impl Unpin for ModeratorToolPreferences
impl UnwindSafe for ModeratorToolPreferences
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