@@ -298,7 +298,7 @@ pub struct SinkPortInfo<'a> {
298
298
pub r#type : DevicePortType ,
299
299
}
300
300
301
- impl < ' a > SinkPortInfo < ' a > {
301
+ impl SinkPortInfo < ' _ > {
302
302
fn new_from_raw ( p : * const SinkPortInfoInternal ) -> Self {
303
303
assert ! ( !p. is_null( ) ) ;
304
304
let src = unsafe { & * p } ;
@@ -390,7 +390,7 @@ pub struct SinkInfo<'a> {
390
390
pub formats : Vec < format:: Info > ,
391
391
}
392
392
393
- impl < ' a > SinkInfo < ' a > {
393
+ impl SinkInfo < ' _ > {
394
394
fn new_from_raw ( p : * const SinkInfoInternal ) -> Self {
395
395
assert ! ( !p. is_null( ) ) ;
396
396
let src = unsafe { & * p } ;
@@ -725,7 +725,7 @@ pub struct SourcePortInfo<'a> {
725
725
pub r#type : DevicePortType ,
726
726
}
727
727
728
- impl < ' a > SourcePortInfo < ' a > {
728
+ impl SourcePortInfo < ' _ > {
729
729
fn new_from_raw ( p : * const SourcePortInfoInternal ) -> Self {
730
730
assert ! ( !p. is_null( ) ) ;
731
731
let src = unsafe { & * p } ;
@@ -817,7 +817,7 @@ pub struct SourceInfo<'a> {
817
817
pub formats : Vec < format:: Info > ,
818
818
}
819
819
820
- impl < ' a > SourceInfo < ' a > {
820
+ impl SourceInfo < ' _ > {
821
821
fn new_from_raw ( p : * const SourceInfoInternal ) -> Self {
822
822
assert ! ( !p. is_null( ) ) ;
823
823
let src = unsafe { & * p } ;
@@ -1139,7 +1139,7 @@ pub struct ServerInfo<'a> {
1139
1139
pub channel_map : channelmap:: Map ,
1140
1140
}
1141
1141
1142
- impl < ' a > ServerInfo < ' a > {
1142
+ impl ServerInfo < ' _ > {
1143
1143
fn new_from_raw ( p : * const ServerInfoInternal ) -> Self {
1144
1144
assert ! ( !p. is_null( ) ) ;
1145
1145
let src = unsafe { & * p } ;
@@ -1242,7 +1242,7 @@ pub struct ModuleInfo<'a> {
1242
1242
pub proplist : Proplist ,
1243
1243
}
1244
1244
1245
- impl < ' a > ModuleInfo < ' a > {
1245
+ impl ModuleInfo < ' _ > {
1246
1246
fn new_from_raw ( p : * const ModuleInfoInternal ) -> Self {
1247
1247
assert ! ( !p. is_null( ) ) ;
1248
1248
let src = unsafe { & * p } ;
@@ -1444,7 +1444,7 @@ pub struct ClientInfo<'a> {
1444
1444
pub proplist : Proplist ,
1445
1445
}
1446
1446
1447
- impl < ' a > ClientInfo < ' a > {
1447
+ impl ClientInfo < ' _ > {
1448
1448
fn new_from_raw ( p : * const ClientInfoInternal ) -> Self {
1449
1449
assert ! ( !p. is_null( ) ) ;
1450
1450
let src = unsafe { & * p } ;
@@ -1560,7 +1560,7 @@ pub struct CardProfileInfo<'a> {
1560
1560
pub available : bool ,
1561
1561
}
1562
1562
1563
- impl < ' a > CardProfileInfo < ' a > {
1563
+ impl CardProfileInfo < ' _ > {
1564
1564
fn new_from_raw ( p : * const CardProfileInfoInternal ) -> Self {
1565
1565
assert ! ( !p. is_null( ) ) ;
1566
1566
let src = unsafe { & * p } ;
@@ -1644,7 +1644,7 @@ pub struct CardPortInfo<'a> {
1644
1644
pub r#type : DevicePortType ,
1645
1645
}
1646
1646
1647
- impl < ' a > CardPortInfo < ' a > {
1647
+ impl CardPortInfo < ' _ > {
1648
1648
fn new_from_raw ( p : * const CardPortInfoInternal ) -> Self {
1649
1649
assert ! ( !p. is_null( ) ) ;
1650
1650
let src = unsafe { & * p } ;
@@ -1725,7 +1725,7 @@ pub struct CardInfo<'a> {
1725
1725
pub active_profile : Option < Box < CardProfileInfo < ' a > > > ,
1726
1726
}
1727
1727
1728
- impl < ' a > CardInfo < ' a > {
1728
+ impl CardInfo < ' _ > {
1729
1729
fn new_from_raw ( p : * const CardInfoInternal ) -> Self {
1730
1730
assert ! ( !p. is_null( ) ) ;
1731
1731
let src = unsafe { & * p } ;
@@ -1957,7 +1957,7 @@ pub struct SinkInputInfo<'a> {
1957
1957
pub format : format:: Info ,
1958
1958
}
1959
1959
1960
- impl < ' a > SinkInputInfo < ' a > {
1960
+ impl SinkInputInfo < ' _ > {
1961
1961
fn new_from_raw ( p : * const SinkInputInfoInternal ) -> Self {
1962
1962
assert ! ( !p. is_null( ) ) ;
1963
1963
let src = unsafe { & * p } ;
@@ -2198,7 +2198,7 @@ pub struct SourceOutputInfo<'a> {
2198
2198
pub format : format:: Info ,
2199
2199
}
2200
2200
2201
- impl < ' a > SourceOutputInfo < ' a > {
2201
+ impl SourceOutputInfo < ' _ > {
2202
2202
fn new_from_raw ( p : * const SourceOutputInfoInternal ) -> Self {
2203
2203
assert ! ( !p. is_null( ) ) ;
2204
2204
let src = unsafe { & * p } ;
@@ -2449,7 +2449,7 @@ pub struct SampleInfo<'a> {
2449
2449
pub proplist : Proplist ,
2450
2450
}
2451
2451
2452
- impl < ' a > SampleInfo < ' a > {
2452
+ impl SampleInfo < ' _ > {
2453
2453
fn new_from_raw ( p : * const SampleInfoInternal ) -> Self {
2454
2454
assert ! ( !p. is_null( ) ) ;
2455
2455
let src = unsafe { & * p } ;
0 commit comments