Skip to main content

IsEmpty

Trait IsEmpty 

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

表示应用此细化不会产生任何效果的特征

Required Methods§

Source

fn is_empty(&self) -> bool

如果应用此细化不会产生任何效果,则返回 true

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: Clone + Debug + Default + PartialEq> IsEmpty for BoundsRefinement<T>
where Option<Point<T>>: Clone, Option<Size<T>>: Clone,

Source§

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

Source§

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

Source§

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

Source§

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