pub struct SetRoomBackgroundColorData {
pub item_id: LegacyId,
pub hue: i32,
pub saturation: i32,
pub lightness: i32,
}
Fields§
§item_id: LegacyId
§hue: i32
§saturation: i32
§lightness: i32
Trait Implementations§
source§impl BaseParser for SetRoomBackgroundColorData
impl BaseParser for SetRoomBackgroundColorData
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 SetRoomBackgroundColorData
impl Clone for SetRoomBackgroundColorData
source§fn clone(&self) -> SetRoomBackgroundColorData
fn clone(&self) -> SetRoomBackgroundColorData
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 SetRoomBackgroundColorData
impl Debug for SetRoomBackgroundColorData
source§impl Default for SetRoomBackgroundColorData
impl Default for SetRoomBackgroundColorData
source§fn default() -> SetRoomBackgroundColorData
fn default() -> SetRoomBackgroundColorData
Returns the “default value” for a type. Read more
source§impl PartialEq<SetRoomBackgroundColorData> for SetRoomBackgroundColorData
impl PartialEq<SetRoomBackgroundColorData> for SetRoomBackgroundColorData
source§fn eq(&self, other: &SetRoomBackgroundColorData) -> bool
fn eq(&self, other: &SetRoomBackgroundColorData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SetRoomBackgroundColorData
Auto Trait Implementations§
impl RefUnwindSafe for SetRoomBackgroundColorData
impl Send for SetRoomBackgroundColorData
impl Sync for SetRoomBackgroundColorData
impl Unpin for SetRoomBackgroundColorData
impl UnwindSafe for SetRoomBackgroundColorData
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