pub enum DartStyle {
Frb,
Ffi,
}Expand description
Dart bridging style: FRB (default) or raw dart:ffi.
Variants§
Frb
flutter_rust_bridge — emits a Rust crate plus Dart wrappers using FRB-generated bridge symbols. Default.
Ffi
Raw dart:ffi over the cbindgen C ABI — emits Dart-only source that
loads the shared library at runtime. Cheaper to ship; loses FRB’s
async ergonomics and freezed-style data classes.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DartStyle
impl<'de> Deserialize<'de> for DartStyle
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for DartStyle
impl Eq for DartStyle
impl StructuralPartialEq for DartStyle
Auto Trait Implementations§
impl Freeze for DartStyle
impl RefUnwindSafe for DartStyle
impl Send for DartStyle
impl Sync for DartStyle
impl Unpin for DartStyle
impl UnsafeUnpin for DartStyle
impl UnwindSafe for DartStyle
Blanket Implementations§
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
Mutably borrows from an owned value. Read more