File tree Expand file tree Collapse file tree 5 files changed +392
-279
lines changed Expand file tree Collapse file tree 5 files changed +392
-279
lines changed Original file line number Diff line number Diff line change 23
23
24
24
-->
25
25
26
+ ## [ Unreleased]
27
+
28
+ ### Breaking changes
29
+
30
+ ### Changed
31
+
32
+ ### Added
33
+
34
+ * Add ` Events::as_vec ` ([ Yuki Kishimoto] )
35
+
36
+ ### Fixed
37
+
38
+ ### Removed
39
+
40
+ ### Deprecated
41
+
26
42
## [ v0.39.0]
27
43
28
44
### Changed
Original file line number Diff line number Diff line change @@ -11,6 +11,11 @@ import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated.dart';
11
11
12
12
// Rust type: RustOpaqueMoi<flutter_rust_bridge::for_generated::RustAutoOpaqueInner<_Events>>
13
13
abstract class Events implements RustOpaqueInterface {
14
+ /// Clone and convert the collection to a vector of events.
15
+ ///
16
+ /// Use `toVec` method if you want to avoid the clone and consume the `Events` object.
17
+ List <Event > asVec ();
18
+
14
19
/// Check if contains `Event`
15
20
bool contains ({required Event event});
16
21
@@ -29,11 +34,11 @@ abstract class Events implements RustOpaqueInterface {
29
34
/// In other words, the filter limit is respected only if the `Events` are related to the same
30
35
/// list of filters.
31
36
///
32
- /// This method consumes the old `Events` collection and returns a new one!
37
+ /// ** This method consumes the old `Events` collection and returns a new one!**
33
38
Events merge ({required Events other});
34
39
35
- /// Convert the collection to vector of events.
40
+ /// Convert the collection to a vector of events.
36
41
///
37
- /// This method consumes the `Events` collection!
42
+ /// ** This method consumes the `Events` collection!**
38
43
List <Event > toVec ();
39
44
}
You can’t perform that action at this time.
0 commit comments