Enum slint_interpreter::SetCallbackError
source ยท pub enum SetCallbackError {
NoSuchCallback,
}
Expand description
Error returned by ComponentInstance::set_callback
Variantsยง
NoSuchCallback
There is no callback with the given name
Trait Implementationsยง
sourceยงimpl Clone for SetCallbackError
impl Clone for SetCallbackError
sourceยงfn clone(&self) -> SetCallbackError
fn clone(&self) -> SetCallbackError
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 SetCallbackError
impl Debug for SetCallbackError
sourceยงimpl Display for SetCallbackError
impl Display for SetCallbackError
sourceยงimpl Error for SetCallbackError
impl Error for SetCallbackError
1.30.0 ยท sourceยงfn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 PartialEq<SetCallbackError> for SetCallbackError
impl PartialEq<SetCallbackError> for SetCallbackError
sourceยงfn eq(&self, other: &SetCallbackError) -> bool
fn eq(&self, other: &SetCallbackError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SetCallbackError
impl Eq for SetCallbackError
impl StructuralEq for SetCallbackError
impl StructuralPartialEq for SetCallbackError
Auto Trait Implementationsยง
impl RefUnwindSafe for SetCallbackError
impl Send for SetCallbackError
impl Sync for SetCallbackError
impl Unpin for SetCallbackError
impl UnwindSafe for SetCallbackError
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
ยงimpl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere T: Any,
ยงfn into_any(self: Box<T, Global>) -> Box<dyn Any, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any, Global>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.ยงfn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.ยงfn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
โs vtable from &Trait
โs.ยงfn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
โs vtable from &mut Trait
โs.ยงimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
ยงfn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more