Enum style::stylesheet_set::SheetRebuildKind
source · [−]pub enum SheetRebuildKind {
Full,
CascadeOnly,
}
Expand description
The type of rebuild that we need to do for a given stylesheet.
Variants
Full
A full rebuild, of both cascade data and invalidation data.
CascadeOnly
A partial rebuild, of only the cascade data.
Implementations
sourceimpl SheetRebuildKind
impl SheetRebuildKind
sourcepub fn should_rebuild_invalidation(&self) -> bool
pub fn should_rebuild_invalidation(&self) -> bool
Whether the stylesheet invalidation data should be rebuilt.
Trait Implementations
sourceimpl Clone for SheetRebuildKind
impl Clone for SheetRebuildKind
sourcefn clone(&self) -> SheetRebuildKind
fn clone(&self) -> SheetRebuildKind
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 SheetRebuildKind
impl Debug for SheetRebuildKind
impl Copy for SheetRebuildKind
Auto Trait Implementations
impl RefUnwindSafe for SheetRebuildKind
impl Send for SheetRebuildKind
impl Sync for SheetRebuildKind
impl Unpin for SheetRebuildKind
impl UnwindSafe for SheetRebuildKind
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> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> MaybeBoxed<Box<T, Global>> for T
impl<T> MaybeBoxed<Box<T, Global>> for T
sourcefn maybe_boxed(self) -> Box<T, Global>
fn maybe_boxed(self) -> Box<T, Global>
Convert
sourceimpl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
sourcefn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert
sourceimpl<T> Pointable for T
impl<T> Pointable for T
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
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more