pub struct GuiGraphConfiguration {
pub active: bool,
pub graph_type: u8,
pub position_x: u8,
pub position_y: u8,
pub width: u8,
pub height: u8,
pub text_x: String,
pub text_y: String,
}
Fields§
§active: bool
§graph_type: u8
§position_x: u8
§position_y: u8
§width: u8
§height: u8
§text_x: String
§text_y: String
Trait Implementations§
source§impl Clone for GuiGraphConfiguration
impl Clone for GuiGraphConfiguration
source§fn clone(&self) -> GuiGraphConfiguration
fn clone(&self) -> GuiGraphConfiguration
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 GuiGraphConfiguration
impl Debug for GuiGraphConfiguration
source§impl Default for GuiGraphConfiguration
impl Default for GuiGraphConfiguration
source§fn default() -> GuiGraphConfiguration
fn default() -> GuiGraphConfiguration
Returns the “default value” for a type. Read more
source§impl FromByteSlice for GuiGraphConfiguration
impl FromByteSlice for GuiGraphConfiguration
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]) -> GuiGraphConfiguration
fn from_le_byte_slice(bytes: &[u8]) -> GuiGraphConfiguration
Deserialize the implementing type from a byte slice.
source§impl Hash for GuiGraphConfiguration
impl Hash for GuiGraphConfiguration
source§impl PartialEq for GuiGraphConfiguration
impl PartialEq for GuiGraphConfiguration
source§fn eq(&self, other: &GuiGraphConfiguration) -> bool
fn eq(&self, other: &GuiGraphConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for GuiGraphConfiguration
impl StructuralPartialEq for GuiGraphConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for GuiGraphConfiguration
impl Send for GuiGraphConfiguration
impl Sync for GuiGraphConfiguration
impl Unpin for GuiGraphConfiguration
impl UnwindSafe for GuiGraphConfiguration
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