pub struct Bell {
pub device_spec: DeviceSpec,
pub bell_class: BellClassSpec,
pub bell_id: IdSpec,
pub percent: i8,
pub force_sound: bool,
pub event_only: bool,
pub pitch: i16,
pub duration: i16,
pub name: Atom,
pub window: Window,
}
Expand description
The Bell
request.
This request has no reply.
Associated cookie types are VoidCookie and VoidCookieChecked.
Fields§
§device_spec: DeviceSpec
§bell_class: BellClassSpec
§bell_id: IdSpec
§percent: i8
§force_sound: bool
§event_only: bool
§pitch: i16
§duration: i16
§name: Atom
§window: Window
Trait Implementations§
source§impl RawRequest for Bell
impl RawRequest for Bell
source§fn raw_request(&self, c: &Connection, checked: bool) -> u64
fn raw_request(&self, c: &Connection, checked: bool) -> u64
Actual implementation of the request sending Read more
impl RequestWithoutReply for Bell
Auto Trait Implementations§
impl Freeze for Bell
impl RefUnwindSafe for Bell
impl Send for Bell
impl Sync for Bell
impl Unpin for Bell
impl UnwindSafe for Bell
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)