pub struct ListViewGroupInfo<'a> {Show 18 fields
pub group_id: i32,
pub create_new: bool,
pub header: Option<Cow<'a, str>>,
pub subtitle: Option<Cow<'a, str>>,
pub footer: Option<Cow<'a, str>>,
pub task: Option<Cow<'a, str>>,
pub description_top: Option<Cow<'a, str>>,
pub description_bottom: Option<Cow<'a, str>>,
pub header_alignment: Option<ListViewGroupAlignment>,
pub footer_alignment: Option<ListViewGroupAlignment>,
pub collapsed: Option<bool>,
pub hidden: Option<bool>,
pub no_header: Option<bool>,
pub collapsible: Option<bool>,
pub focused: Option<bool>,
pub selected: Option<bool>,
pub subseted: Option<bool>,
pub subset_link_focused: Option<bool>,
}
Fields§
§group_id: i32
§create_new: bool
Determines if a new group is created or if an existing group should be updated.
header: Option<Cow<'a, str>>
§subtitle: Option<Cow<'a, str>>
This element is drawn under the header text.
task: Option<Cow<'a, str>>
This item is drawn right-aligned opposite the header text. When clicked
by the user, the task link generates an LVN_LINKCLICK
notification.
description_top: Option<Cow<'a, str>>
This item is drawn opposite the title image when there is a title image, no extended image, and header is centered aligned.
description_bottom: Option<Cow<'a, str>>
This item is drawn under the top description text when there is a title image, no extended image, and header is center aligned.
header_alignment: Option<ListViewGroupAlignment>
If this is specified then the header_alignment
should also be specified.
collapsed: Option<bool>
If the group is collapsed/expanded.
The group is hidden.
no_header: Option<bool>
The group does not display a header.
collapsible: Option<bool>
The group can be collapsed.
focused: Option<bool>
The group has keyboard focus.
selected: Option<bool>
The group is selected.
subseted: Option<bool>
The group displays only a portion of its items.
subset_link_focused: Option<bool>
The subset link of the group has keyboard focus.
Trait Implementations§
Source§impl<'a> Clone for ListViewGroupInfo<'a>
impl<'a> Clone for ListViewGroupInfo<'a>
Source§fn clone(&self) -> ListViewGroupInfo<'a>
fn clone(&self) -> ListViewGroupInfo<'a>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl<'a> Debug for ListViewGroupInfo<'a>
impl<'a> Debug for ListViewGroupInfo<'a>
Source§impl<'a> Default for ListViewGroupInfo<'a>
impl<'a> Default for ListViewGroupInfo<'a>
Source§fn default() -> ListViewGroupInfo<'a>
fn default() -> ListViewGroupInfo<'a>
Source§impl<'a> Ord for ListViewGroupInfo<'a>
impl<'a> Ord for ListViewGroupInfo<'a>
Source§fn cmp(&self, other: &ListViewGroupInfo<'a>) -> Ordering
fn cmp(&self, other: &ListViewGroupInfo<'a>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl<'a> PartialEq for ListViewGroupInfo<'a>
impl<'a> PartialEq for ListViewGroupInfo<'a>
Source§impl<'a> PartialOrd for ListViewGroupInfo<'a>
impl<'a> PartialOrd for ListViewGroupInfo<'a>
impl<'a> Eq for ListViewGroupInfo<'a>
impl<'a> StructuralPartialEq for ListViewGroupInfo<'a>
Auto Trait Implementations§
impl<'a> Freeze for ListViewGroupInfo<'a>
impl<'a> RefUnwindSafe for ListViewGroupInfo<'a>
impl<'a> Send for ListViewGroupInfo<'a>
impl<'a> Sync for ListViewGroupInfo<'a>
impl<'a> Unpin for ListViewGroupInfo<'a>
impl<'a> UnwindSafe for ListViewGroupInfo<'a>
Blanket Implementations§
§impl<Src, Scheme> ApproxFrom<Src, Scheme> for Srcwhere
Scheme: ApproxScheme,
impl<Src, Scheme> ApproxFrom<Src, Scheme> for Srcwhere
Scheme: ApproxScheme,
§fn approx_from(src: Src) -> Result<Src, <Src as ApproxFrom<Src, Scheme>>::Err>
fn approx_from(src: Src) -> Result<Src, <Src as ApproxFrom<Src, Scheme>>::Err>
§impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Srcwhere
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Srcwhere
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
§fn approx_into(self) -> Result<Dst, <Src as ApproxInto<Dst, Scheme>>::Err>
fn approx_into(self) -> Result<Dst, <Src as ApproxInto<Dst, Scheme>>::Err>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T, Dst> ConvAsUtil<Dst> for T
impl<T, Dst> ConvAsUtil<Dst> for T
§impl<T> ConvUtil for T
impl<T> ConvUtil for T
§fn approx_as<Dst>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst>,
fn approx_as<Dst>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst>,
§fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
Source§impl<T> DynWithDefault for T
impl<T> DynWithDefault for T
Source§fn with_default_mut(
&mut self,
f: &mut dyn FnMut(&mut dyn DynWithDefault, &mut (dyn Any + 'static)),
)
fn with_default_mut( &mut self, f: &mut dyn FnMut(&mut dyn DynWithDefault, &mut (dyn Any + 'static)), )
self
and the second argument
is the new temporary default value. The callback can then modify the
value as needed.Source§fn clear_and_inspect_old(
&mut self,
f: &mut dyn FnMut(&mut dyn DynWithDefault, &mut (dyn Any + 'static)),
)
fn clear_and_inspect_old( &mut self, f: &mut dyn FnMut(&mut dyn DynWithDefault, &mut (dyn Any + 'static)), )
self
to a new default value and inspect the previous value as the
second argument to the callback.fn clear(&mut self)
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self
to the equivalent element of its superset.