pub struct PropInfo {
pub name: String,
pub kind: String,
pub default: String,
pub doc: String,
pub category: String,
pub options: Vec<String>,
}Fields§
§name: String§kind: Stringtext, number, int, bool, color, choice, event, image.
default: String§doc: String§category: StringThe property grid category (empty: the component’s own).
options: Vec<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for PropInfo
impl<'de> Deserialize<'de> for PropInfo
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
impl StructuralPartialEq for PropInfo
Auto Trait Implementations§
impl Freeze for PropInfo
impl RefUnwindSafe for PropInfo
impl Send for PropInfo
impl Sync for PropInfo
impl Unpin for PropInfo
impl UnsafeUnpin for PropInfo
impl UnwindSafe for PropInfo
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