Enum zi::ShouldRender
source · [−]pub enum ShouldRender {
Yes,
No,
}
Expand description
Type to indicate whether a component should be rendered again.
Variants
Yes
No
Trait Implementations
sourceimpl BitAnd<ShouldRender> for ShouldRender
impl BitAnd<ShouldRender> for ShouldRender
type Output = ShouldRender
type Output = ShouldRender
The resulting type after applying the &
operator.
sourceimpl BitOr<ShouldRender> for ShouldRender
impl BitOr<ShouldRender> for ShouldRender
type Output = ShouldRender
type Output = ShouldRender
The resulting type after applying the |
operator.
sourceimpl Clone for ShouldRender
impl Clone for ShouldRender
sourcefn clone(&self) -> ShouldRender
fn clone(&self) -> ShouldRender
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ShouldRender
impl Debug for ShouldRender
sourceimpl From<ShouldRender> for bool
impl From<ShouldRender> for bool
sourcefn from(should_render: ShouldRender) -> Self
fn from(should_render: ShouldRender) -> Self
Converts to this type from the input type.
sourceimpl From<bool> for ShouldRender
impl From<bool> for ShouldRender
sourceimpl PartialEq<ShouldRender> for ShouldRender
impl PartialEq<ShouldRender> for ShouldRender
impl Copy for ShouldRender
impl Eq for ShouldRender
impl StructuralEq for ShouldRender
impl StructuralPartialEq for ShouldRender
Auto Trait Implementations
impl RefUnwindSafe for ShouldRender
impl Send for ShouldRender
impl Sync for ShouldRender
impl Unpin for ShouldRender
impl UnwindSafe for ShouldRender
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more