pub struct CollectionEntryHandle(/* private fields */);Implementations§
Source§impl CollectionEntryHandle
impl CollectionEntryHandle
pub fn new(index: usize, value: ScriptValue) -> Self
pub fn index(&self) -> usize
pub fn value(&self) -> ScriptValue
Trait Implementations§
Source§impl Clone for CollectionEntryHandle
impl Clone for CollectionEntryHandle
Source§fn clone(&self) -> CollectionEntryHandle
fn clone(&self) -> CollectionEntryHandle
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 moreSource§impl Debug for CollectionEntryHandle
impl Debug for CollectionEntryHandle
Source§impl PartialEq for CollectionEntryHandle
impl PartialEq for CollectionEntryHandle
impl StructuralPartialEq for CollectionEntryHandle
Auto Trait Implementations§
impl Freeze for CollectionEntryHandle
impl !RefUnwindSafe for CollectionEntryHandle
impl !Send for CollectionEntryHandle
impl !Sync for CollectionEntryHandle
impl Unpin for CollectionEntryHandle
impl UnsafeUnpin for CollectionEntryHandle
impl !UnwindSafe for CollectionEntryHandle
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