pub struct DebugProperty {
pub name: String,
pub value: DebugValue,
pub overridden: bool,
pub editable: bool,
pub options: Vec<String>,
pub min: Option<f64>,
pub max: Option<f64>,
pub step: Option<f64>,
}Fields§
§name: String§value: DebugValue§overridden: boolDEV OVERRIDE active for this property.
editable: bool§options: Vec<String>Allowed values for an editable DebugValue::Enum property (protocol 4).
min: Option<f64>Inclusive lower bound for an editable numeric property (protocol 4).
max: Option<f64>Inclusive upper bound for an editable numeric property (protocol 4).
step: Option<f64>Suggested increment for drag or arrow-key edits (protocol 4).
Trait Implementations§
Source§impl Clone for DebugProperty
impl Clone for DebugProperty
Source§impl Debug for DebugProperty
impl Debug for DebugProperty
Source§impl<'de> Deserialize<'de> for DebugProperty
impl<'de> Deserialize<'de> for DebugProperty
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
Source§impl PartialEq for DebugProperty
impl PartialEq for DebugProperty
Source§impl Serialize for DebugProperty
impl Serialize for DebugProperty
impl StructuralPartialEq for DebugProperty
Auto Trait Implementations§
impl Forget for DebugProperty
impl Freeze for DebugProperty
impl RefUnwindSafe for DebugProperty
impl Send for DebugProperty
impl Sync for DebugProperty
impl Unpin for DebugProperty
impl UnsafeUnpin for DebugProperty
impl UnwindSafe for DebugProperty
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