Struct winsafe::TBBUTTONINFO
source · #[repr(C)]pub struct TBBUTTONINFO<'a> {
pub dwMask: TBIF,
pub idCommand: i32,
pub iImage: i32,
pub fsState: TBSTATE,
pub fsStyle: BTNS,
pub cx: u16,
pub lParam: usize,
/* private fields */
}
Available on crate feature
comctl
only.Expand description
TBBUTTONINFO
struct.
Fields§
§dwMask: TBIF
§idCommand: i32
§iImage: i32
§fsState: TBSTATE
§fsStyle: BTNS
§cx: u16
§lParam: usize
Implementations§
source§impl<'a> TBBUTTONINFO<'a>
impl<'a> TBBUTTONINFO<'a>
sourcepub const fn raw_pszText(&self) -> (*mut u16, i32)
pub const fn raw_pszText(&self) -> (*mut u16, i32)
Returns the raw pointer to the string field, and its declared size.
This method can be used as an escape hatch to interoperate with other libraries.
sourcepub fn set_pszText(&mut self, buf: Option<&'a mut WString>)
pub fn set_pszText(&mut self, buf: Option<&'a mut WString>)
Sets the string field.
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for TBBUTTONINFO<'a>
impl<'a> !Send for TBBUTTONINFO<'a>
impl<'a> !Sync for TBBUTTONINFO<'a>
impl<'a> Unpin for TBBUTTONINFO<'a>
impl<'a> !UnwindSafe for TBBUTTONINFO<'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