Struct rust_lib_flutter_test_gui::frb_generated::MoiArc
source · pub struct MoiArc<T: ?Sized + MoiArcValue> {
object_id: Option<usize>,
value: Option<Arc<T>>,
_phantom: PhantomData<T>,
}Fields§
§object_id: Option<usize>§value: Option<Arc<T>>§_phantom: PhantomData<T>Implementations§
source§impl<T: ?Sized + MoiArcValue> MoiArc<T>
impl<T: ?Sized + MoiArcValue> MoiArc<T>
pub(crate) fn from_raw(raw: usize) -> Selfwhere
T: Sized,
pub fn increment_strong_count(raw: usize)
pub fn decrement_strong_count(raw: usize)
fn decrement_strong_count_raw(raw: usize, pool: &mut MoiArcPoolInner<T>)
Trait Implementations§
source§impl<T: ?Sized + MoiArcValue> BaseArc<T> for MoiArc<T>
impl<T: ?Sized + MoiArcValue> BaseArc<T> for MoiArc<T>
Auto Trait Implementations§
impl<T: ?Sized> Freeze for MoiArc<T>
impl<T: ?Sized> RefUnwindSafe for MoiArc<T>where
T: RefUnwindSafe,
impl<T: ?Sized> Send for MoiArc<T>
impl<T: ?Sized> Sync for MoiArc<T>
impl<T: ?Sized> Unpin for MoiArc<T>where
T: Unpin,
impl<T: ?Sized> UnwindSafe for MoiArc<T>where
T: UnwindSafe + RefUnwindSafe,
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