pub struct VersionHandle(pub Rc<RefCell<Option<Version>>>, pub Rc<Cell<bool>>);Tuple Fields§
§0: Rc<RefCell<Option<Version>>>§1: Rc<Cell<bool>>Implementations§
Source§impl VersionHandle
impl VersionHandle
pub fn build(&self) -> Version
pub fn table(&self, id: &str) -> TableHandle
pub fn custom_type(&self, id: &str) -> CustomTypeBuilder
Trait Implementations§
Source§impl Clone for VersionHandle
impl Clone for VersionHandle
Source§fn clone(&self) -> VersionHandle
fn clone(&self) -> VersionHandle
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for VersionHandle
impl !RefUnwindSafe for VersionHandle
impl !Send for VersionHandle
impl !Sync for VersionHandle
impl Unpin for VersionHandle
impl UnsafeUnpin for VersionHandle
impl !UnwindSafe for VersionHandle
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