pub struct DuplicateSetterError {
pub property: String,
pub style: String,
}Expand description
A style has two setters for the same property: the invalid operation the managed original raises when the style is instanced on a control.
Fields§
§property: StringThe property, as it is displayed.
style: StringThe style (or control theme), as it is displayed.
Trait Implementations§
Source§impl Clone for DuplicateSetterError
impl Clone for DuplicateSetterError
Source§impl Debug for DuplicateSetterError
impl Debug for DuplicateSetterError
Source§impl Display for DuplicateSetterError
impl Display for DuplicateSetterError
impl Eq for DuplicateSetterError
Source§impl Error for DuplicateSetterError
impl Error for DuplicateSetterError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<DuplicateSetterError> for InitializationError
impl From<DuplicateSetterError> for InitializationError
Source§fn from(error: DuplicateSetterError) -> Self
fn from(error: DuplicateSetterError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DuplicateSetterError
impl PartialEq for DuplicateSetterError
impl StructuralPartialEq for DuplicateSetterError
Auto Trait Implementations§
impl Freeze for DuplicateSetterError
impl RefUnwindSafe for DuplicateSetterError
impl Send for DuplicateSetterError
impl Sync for DuplicateSetterError
impl Unpin for DuplicateSetterError
impl UnsafeUnpin for DuplicateSetterError
impl UnwindSafe for DuplicateSetterError
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