pub struct WindowButtonId(pub u16);Expand description
Opaque identifier for a header button within a Window.
Assigned sequentially by Window::add_header_button.
Tuple Fields§
§0: u16Trait Implementations§
Source§impl Clone for WindowButtonId
impl Clone for WindowButtonId
Source§fn clone(&self) -> WindowButtonId
fn clone(&self) -> WindowButtonId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WindowButtonId
Source§impl Debug for WindowButtonId
impl Debug for WindowButtonId
impl Eq for WindowButtonId
Source§impl Hash for WindowButtonId
impl Hash for WindowButtonId
Source§impl PartialEq for WindowButtonId
impl PartialEq for WindowButtonId
impl StructuralPartialEq for WindowButtonId
Auto Trait Implementations§
impl Freeze for WindowButtonId
impl RefUnwindSafe for WindowButtonId
impl Send for WindowButtonId
impl Sync for WindowButtonId
impl Unpin for WindowButtonId
impl UnsafeUnpin for WindowButtonId
impl UnwindSafe for WindowButtonId
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