Struct winsafe::LVGROUP

source ·
#[repr(C)]
pub struct LVGROUP<'a, 'b, 'c, 'd, 'e, 'f, 'g> { pub mask: LVGF, pub iGroupId: i32, pub stateMask: LVGS, pub state: LVGS, pub uAlign: LVGA_FH, pub iTitleImage: i32, pub iExtendedImage: i32, pub iFirstItem: i32, pub cItems: u32, /* private fields */ }
Available on crate feature comctl only.
Expand description

LVGROUP struct.

Fields§

§mask: LVGF§iGroupId: i32§stateMask: LVGS§state: LVGS§uAlign: LVGA_FH§iTitleImage: i32§iExtendedImage: i32§iFirstItem: i32§cItems: u32

Implementations§

source§

impl<'a, 'b, 'c, 'd, 'e, 'f, 'g> LVGROUP<'a, 'b, 'c, 'd, 'e, 'f, 'g>

source

pub const fn raw_pszHeader(&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.

source

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

Returns the string field.

source

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

Sets the string field.

source

pub const fn raw_pszFooter(&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.

source

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

Returns the string field.

source

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

Sets the string field.

source

pub const fn raw_pszSubtitle(&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.

source

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

Returns the string field.

source

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

Sets the string field.

source

pub const fn raw_pszTask(&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.

source

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

Returns the string field.

source

pub fn set_pszTask(&mut self, buf: Option<&'d mut WString>)

Sets the string field.

source

pub const fn raw_pszDescriptionTop(&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.

source

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

Returns the string field.

source

pub fn set_pszDescriptionTop(&mut self, buf: Option<&'e mut WString>)

Sets the string field.

source

pub const fn raw_pszDescriptionBottom(&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.

source

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

Returns the string field.

source

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

Sets the string field.

source

pub const fn raw_pszSubsetTitle(&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.

source

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

Returns the string field.

source

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

Sets the string field.

Trait Implementations§

source§

impl<'a, 'b, 'c, 'd, 'e, 'f, 'g> Default for LVGROUP<'a, 'b, 'c, 'd, 'e, 'f, 'g>

source§

fn default() -> Self

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

Auto Trait Implementations§

§

impl<'a, 'b, 'c, 'd, 'e, 'f, 'g> Freeze for LVGROUP<'a, 'b, 'c, 'd, 'e, 'f, 'g>

§

impl<'a, 'b, 'c, 'd, 'e, 'f, 'g> RefUnwindSafe for LVGROUP<'a, 'b, 'c, 'd, 'e, 'f, 'g>

§

impl<'a, 'b, 'c, 'd, 'e, 'f, 'g> !Send for LVGROUP<'a, 'b, 'c, 'd, 'e, 'f, 'g>

§

impl<'a, 'b, 'c, 'd, 'e, 'f, 'g> !Sync for LVGROUP<'a, 'b, 'c, 'd, 'e, 'f, 'g>

§

impl<'a, 'b, 'c, 'd, 'e, 'f, 'g> Unpin for LVGROUP<'a, 'b, 'c, 'd, 'e, 'f, 'g>

§

impl<'a, 'b, 'c, 'd, 'e, 'f, 'g> !UnwindSafe for LVGROUP<'a, 'b, 'c, 'd, 'e, 'f, 'g>

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.