pub struct GaugeBuilder<'a, P: WindowMethods> { /* private fields */ }
Implementations§
Source§impl<'a, P: WindowMethods> GaugeBuilder<'a, P>
impl<'a, P: WindowMethods> GaugeBuilder<'a, P>
pub fn id(&mut self, id: c_int) -> &mut Self
pub fn range(&mut self, range: c_int) -> &mut Self
pub fn pos(&mut self, pos: Point) -> &mut Self
pub fn size(&mut self, size: Size) -> &mut Self
pub fn style(&mut self, style: c_long) -> &mut Self
pub fn validator(&mut self, validator: Validator) -> &mut Self
pub fn build(&mut self) -> Gauge
Trait Implementations§
Source§impl<'a, P: WindowMethods> Buildable<'a, P, GaugeBuilder<'a, P>> for Gauge
impl<'a, P: WindowMethods> Buildable<'a, P, GaugeBuilder<'a, P>> for Gauge
Auto Trait Implementations§
impl<'a, P> Freeze for GaugeBuilder<'a, P>
impl<'a, P> RefUnwindSafe for GaugeBuilder<'a, P>where
P: RefUnwindSafe,
impl<'a, P> !Send for GaugeBuilder<'a, P>
impl<'a, P> !Sync for GaugeBuilder<'a, P>
impl<'a, P> Unpin for GaugeBuilder<'a, P>
impl<'a, P> UnwindSafe for GaugeBuilder<'a, P>where
P: RefUnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more