pub const fn state(&self) -> State {
        State {
            background: self.settings.background,
            size: self.settings.size,
        }
    }
/// Calculates the component's state.
Calculates the component's state.
Calculates the component ' s state .
pub const fn state(&self) -> State {
        State {
            background: self.settings.background,
            size: self.settings.size,
        }
    }
pub const fn state ( & self ) -> State { State { background : self . settings . background , size : self . settings . size , } }
Calculates the component's state.
Calculates the component ' s state .
&self
&self