Set MSRV to 1.71
This commit is contained in:
parent
213ede371b
commit
1291a48d4d
4 changed files with 45 additions and 40 deletions
|
|
@ -33,11 +33,11 @@ pub trait SegmentedVariant {
|
|||
) -> super::Appearance;
|
||||
|
||||
/// Calculates the bounds for visible buttons.
|
||||
fn variant_button_bounds(
|
||||
&self,
|
||||
state: &LocalState,
|
||||
fn variant_button_bounds<'b>(
|
||||
&'b self,
|
||||
state: &'b LocalState,
|
||||
bounds: Rectangle,
|
||||
) -> impl Iterator<Item = (Entity, Rectangle)>;
|
||||
) -> Box<dyn Iterator<Item = (Entity, Rectangle)> + 'b>;
|
||||
|
||||
/// Calculates the layout of this variant.
|
||||
fn variant_layout(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue