pub struct GuiSlider {
pub active: bool,
pub position_x: u8,
pub position_y: u8,
pub length: u8,
pub direction: u8,
pub value: u8,
}
Fields§
§active: bool
§position_x: u8
§position_y: u8
§length: u8
§direction: u8
§value: u8
Trait Implementations§
Source§impl FromByteSlice for GuiSlider
impl FromByteSlice for GuiSlider
Source§fn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
Source§fn from_le_byte_slice(bytes: &[u8]) -> GuiSlider
fn from_le_byte_slice(bytes: &[u8]) -> GuiSlider
Deserialize the implementing type from a byte slice.
impl Copy for GuiSlider
impl Eq for GuiSlider
impl StructuralPartialEq for GuiSlider
Auto Trait Implementations§
impl Freeze for GuiSlider
impl RefUnwindSafe for GuiSlider
impl Send for GuiSlider
impl Sync for GuiSlider
impl Unpin for GuiSlider
impl UnwindSafe for GuiSlider
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