Skip to main content

TagSliceExt

Trait TagSliceExt 

Source
pub(crate) trait TagSliceExt {
    // Required method
    fn fill_tag(&mut self, tag: Tag);

    // Provided method
    fn fill_empty(&mut self) { ... }
}
Expand description

Extension trait for slices of tags.

Required Methods§

Source

fn fill_tag(&mut self, tag: Tag)

Fills the control with the given tag.

Provided Methods§

Source

fn fill_empty(&mut self)

Clears out the control.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl TagSliceExt for [MaybeUninit<Tag>]

Source§

fn fill_tag(&mut self, tag: Tag)

Implementors§