1 2 3 4 5 6 7 8
use crate::primitives::dialog::Dialog; impl<'a> Dialog<'a> { pub fn width_percent(mut self, width_percent: f32) -> Self { self.width_percent = width_percent; self } }