HasRows

Trait HasRows 

Source
pub trait HasRows<'a> {
    // Required methods
    fn get_rows(&self) -> &'_ str;
    fn set_rows(&mut self, value: impl Into<Cow<'a, str>>);
}
Expand description

Trait for elements that have the rows attribute

Required Methods§

Source

fn get_rows(&self) -> &'_ str

Get the value of the rows attribute

Source

fn set_rows(&mut self, value: impl Into<Cow<'a, str>>)

Set the value of the rows attribute

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<'a> HasRows<'a> for Textarea<'a>