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
impl StructuralPartialEq for SetRoomBackgroundColorData
Auto Trait Implementations§
impl Freeze for SetRoomBackgroundColorData
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