pub struct MarkupParameter {
pub name: Option<&'static str>,
pub attributes: &'static [MarkupAttribute],
}Expand description
The name and attributes of a parameter of a MarkupConstructor
([InheritDataTypeFrom(..)] FerroProperty property of the managed
original).
Fields§
§name: Option<&'static str>The parameter name, when the declaration states it.
attributes: &'static [MarkupAttribute]Trait Implementations§
Source§impl Clone for MarkupParameter
impl Clone for MarkupParameter
impl Copy for MarkupParameter
Source§impl Debug for MarkupParameter
impl Debug for MarkupParameter
Source§impl PartialEq for MarkupParameter
impl PartialEq for MarkupParameter
impl StructuralPartialEq for MarkupParameter
Auto Trait Implementations§
impl Freeze for MarkupParameter
impl RefUnwindSafe for MarkupParameter
impl Send for MarkupParameter
impl Sync for MarkupParameter
impl Unpin for MarkupParameter
impl UnsafeUnpin for MarkupParameter
impl UnwindSafe for MarkupParameter
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more