Skip to main content

IsEmpty

Trait IsEmpty 

Source
pub trait IsEmpty {
    // Required method
    fn is_empty(&self) -> bool;
}

Required Methods§

Source

fn is_empty(&self) -> bool

Returns true if applying this refinement would have no effect.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl IsEmpty for GridTemplateRefinement

Source§

impl IsEmpty for StrikethroughStyleRefinement

Source§

impl IsEmpty for StyleRefinement

Source§

impl IsEmpty for TextStyleRefinement

Source§

impl IsEmpty for UnderlineStyleRefinement

Source§

impl<T> IsEmpty for BoundsRefinement<T>

Source§

impl<T> IsEmpty for CornersRefinement<T>
where T: Clone + Debug + Default + PartialEq, Option<T>: Clone,

Source§

impl<T> IsEmpty for EdgesRefinement<T>
where T: Clone + Debug + Default + PartialEq, Option<T>: Clone,

Source§

impl<T> IsEmpty for PointRefinement<T>
where T: Clone + Debug + Default + PartialEq, Option<T>: Clone,

Source§

impl<T> IsEmpty for SizeRefinement<T>
where T: Clone + Debug + Default + PartialEq, Option<T>: Clone,