Struct winsafe::TASKDIALOGCONFIG

source ·
#[repr(C, packed(1))]
pub struct TASKDIALOGCONFIG<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j> { pub hwndParent: HWND, pub hInstance: HINSTANCE, pub dwFlags: TDF, pub dwCommonButtons: TDCBF, pub nDefaultButton: i32, pub nDefaultRadioButton: i32, pub pfCallback: Option<PFTASKDIALOGCALLBACK>, pub lpCallbackData: usize, pub cxWidth: u32, /* private fields */ }
Available on crate feature comctl only.
Expand description

Fields§

§hwndParent: HWND§hInstance: HINSTANCE§dwFlags: TDF§dwCommonButtons: TDCBF§nDefaultButton: i32§nDefaultRadioButton: i32§pfCallback: Option<PFTASKDIALOGCALLBACK>§lpCallbackData: usize§cxWidth: u32

Implementations§

source§

impl<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j> TASKDIALOGCONFIG<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j>

source

pub fn pszWindowTitle(&self) -> Option<String>

Returns the string field, if any.

source

pub fn set_pszWindowTitle(&mut self, buf: Option<&'a mut WString>)

Sets the string field.

source

pub fn pszMainIcon(&self) -> IconIdTdicon

Returns the pszMainIcon field.

source

pub fn set_pszMainIcon(&mut self, val: IconIdTdicon)

Sets the pszMainIcon field.

source

pub fn pszMainInstruction(&self) -> Option<String>

Returns the string field, if any.

source

pub fn set_pszMainInstruction(&mut self, buf: Option<&'b mut WString>)

Sets the string field.

source

pub fn pszContent(&self) -> Option<String>

Returns the string field, if any.

source

pub fn set_pszContent(&mut self, buf: Option<&'c mut WString>)

Sets the string field.

source

pub fn pButtons(&self) -> Option<&'d mut [TASKDIALOG_BUTTON<'_>]>

Returns the array field.

source

pub fn set_pButtons(&mut self, buf: Option<&'d mut [TASKDIALOG_BUTTON<'_>]>)

Sets the array field.

source

pub fn pRadioButtons(&self) -> Option<&'e mut [TASKDIALOG_BUTTON<'_>]>

Returns the array field.

source

pub fn set_pRadioButtons( &mut self, buf: Option<&'e mut [TASKDIALOG_BUTTON<'_>]> )

Sets the array field.

source

pub fn pszVerificationText(&self) -> Option<String>

Returns the string field, if any.

source

pub fn set_pszVerificationText(&mut self, buf: Option<&'f mut WString>)

Sets the string field.

source

pub fn pszExpandedInformation(&self) -> Option<String>

Returns the string field, if any.

source

pub fn set_pszExpandedInformation(&mut self, buf: Option<&'g mut WString>)

Sets the string field.

source

pub fn pszExpandedControlText(&self) -> Option<String>

Returns the string field, if any.

source

pub fn set_pszExpandedControlText(&mut self, buf: Option<&'h mut WString>)

Sets the string field.

source

pub fn pszCollapsedControlText(&self) -> Option<String>

Returns the string field, if any.

source

pub fn set_pszCollapsedControlText(&mut self, buf: Option<&'i mut WString>)

Sets the string field.

source

pub fn pszFooterIcon(&self) -> IconId

Returns the pszFooterIcon field.

source

pub fn set_pszFooterIcon(&mut self, val: IconId)

Sets the pszFooterIcon field.

source

pub fn pszFooter(&self) -> Option<String>

Returns the string field, if any.

source

pub fn set_pszFooter(&mut self, buf: Option<&'j mut WString>)

Sets the string field.

Trait Implementations§

source§

impl<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j> Default for TASKDIALOGCONFIG<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j>

source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

§

impl<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j> Freeze for TASKDIALOGCONFIG<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j>

§

impl<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j> RefUnwindSafe for TASKDIALOGCONFIG<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j>

§

impl<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j> !Send for TASKDIALOGCONFIG<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j>

§

impl<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j> !Sync for TASKDIALOGCONFIG<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j>

§

impl<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j> Unpin for TASKDIALOGCONFIG<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j>

§

impl<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j> !UnwindSafe for TASKDIALOGCONFIG<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j>

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.