pub struct CharTableInner<'ob> {
parent: RefCell<Option<Slot<&'ob CharTable>>>,
data: RefCell<HashMap<usize, Slot<Gc<ObjectType<'ob>>>>>,
init: Slot<Gc<ObjectType<'ob>>>,
}
Fields§
§parent: RefCell<Option<Slot<&'ob CharTable>>>
§data: RefCell<HashMap<usize, Slot<Gc<ObjectType<'ob>>>>>
§init: Slot<Gc<ObjectType<'ob>>>
Implementations§
Source§impl<'ob> CharTableInner<'ob>
impl<'ob> CharTableInner<'ob>
pub fn new(init: Option<Gc<ObjectType<'ob>>>) -> Self
Trait Implementations§
Source§impl<'ob> Debug for CharTableInner<'ob>
impl<'ob> Debug for CharTableInner<'ob>
Source§impl IntoObject for CharTableInner<'_>
impl IntoObject for CharTableInner<'_>
Source§impl PartialEq for CharTableInner<'_>
impl PartialEq for CharTableInner<'_>
Source§impl<'ob> RootedDeref for CharTableInner<'ob>
impl<'ob> RootedDeref for CharTableInner<'ob>
type Target = RootedCharTableInner<'ob>
fn rooted_deref(rooted: &Rt<Self>) -> &Self::Target
fn rooted_derefmut(rooted: &mut Rt<Self>) -> &mut Self::Target
impl<'ob> Eq for CharTableInner<'ob>
Auto Trait Implementations§
impl<'ob> !Freeze for CharTableInner<'ob>
impl<'ob> !RefUnwindSafe for CharTableInner<'ob>
impl<'ob> !Send for CharTableInner<'ob>
impl<'ob> !Sync for CharTableInner<'ob>
impl<'ob> Unpin for CharTableInner<'ob>
impl<'ob> !UnwindSafe for CharTableInner<'ob>
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.