Struct winsafe::TASKDIALOG_BUTTON
source · #[repr(C, packed(1))]pub struct TASKDIALOG_BUTTON<'a> { /* private fields */ }
Available on crate feature
comctl
only.Expand description
TASKDIALOG_BUTTON
struct.
Implementations§
source§impl<'a> TASKDIALOG_BUTTON<'a>
impl<'a> TASKDIALOG_BUTTON<'a>
sourcepub fn set_nButtonID(&mut self, val: u16)
pub fn set_nButtonID(&mut self, val: u16)
Sets the resource ID field.
sourcepub fn pszButtonText(&self) -> Option<String>
pub fn pszButtonText(&self) -> Option<String>
Returns the string field, if any.
sourcepub fn set_pszButtonText(&mut self, buf: Option<&'a mut WString>)
pub fn set_pszButtonText(&mut self, buf: Option<&'a mut WString>)
Sets the string field.
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for TASKDIALOG_BUTTON<'a>
impl<'a> !Send for TASKDIALOG_BUTTON<'a>
impl<'a> !Sync for TASKDIALOG_BUTTON<'a>
impl<'a> Unpin for TASKDIALOG_BUTTON<'a>
impl<'a> !UnwindSafe for TASKDIALOG_BUTTON<'a>
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