pub struct StageLabel {
pub name: String,
pub x: Option<f32>,
pub x_unit: UnitsLength,
pub y: Option<f32>,
pub y_unit: UnitsLength,
pub z: Option<f32>,
pub z_unit: UnitsLength,
}Fields§
§name: String§x: Option<f32>§x_unit: UnitsLength§y: Option<f32>§y_unit: UnitsLength§z: Option<f32>§z_unit: UnitsLengthImplementations§
Source§impl StageLabel
impl StageLabel
pub fn default_x_unit() -> UnitsLength
pub fn default_y_unit() -> UnitsLength
pub fn default_z_unit() -> UnitsLength
Trait Implementations§
Source§impl Clone for StageLabel
impl Clone for StageLabel
Source§fn clone(&self) -> StageLabel
fn clone(&self) -> StageLabel
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 StageLabel
impl Debug for StageLabel
Source§impl<'de> Deserialize<'de> for StageLabel
impl<'de> Deserialize<'de> for StageLabel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for StageLabel
impl RefUnwindSafe for StageLabel
impl Send for StageLabel
impl Sync for StageLabel
impl Unpin for StageLabel
impl UnwindSafe for StageLabel
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