Struct FfiIndexMap
pub struct FfiIndexMap<K, V> { /* private fields */ }Implementations§
§impl<K, V> FfiIndexMap<K, V>
impl<K, V> FfiIndexMap<K, V>
pub fn new() -> FfiIndexMap<K, V>
§impl<K, V> FfiIndexMap<K, V>
impl<K, V> FfiIndexMap<K, V>
pub fn contains_key<Q>(&self, key: &Q) -> bool
pub fn get<Q>(&self, key: &Q) -> Option<&V>
pub fn get_by_idx(&self, idx: u64) -> Option<(&K, &V)>
pub fn get_by_idx_mut(&mut self, idx: u64) -> Option<(&K, &mut V)>
pub fn get_mut<Q>(&mut self, key: &Q) -> Option<&mut V>
pub fn entry<'a>(&'a mut self, key: K) -> FfiIndexMapEntry<'a, K, V>
pub fn insert(&mut self, key: K, value: V) -> Option<V>
pub fn insert_mut(&mut self, key: K, value: V) -> &mut V
pub fn remove_shift<Q>(&mut self, key: &Q) -> Option<V>
pub fn remove_swap<Q>(&mut self, key: &Q) -> Option<V>
pub fn len(&self) -> u64
pub fn is_empty(&self) -> bool
pub fn index_of<Q>(&self, key: &Q) -> Option<u64>
pub fn clear(&mut self)
§impl<K, V> FfiIndexMap<K, V>
impl<K, V> FfiIndexMap<K, V>
pub fn iter<'a>(&'a self) -> FfiIndexMapPairsIter<'a, K, V> ⓘ
pub fn iter_mut<'a>(&'a mut self) -> FfiIndexMapPairsMutIter<'a, K, V> ⓘ
pub fn keys<'a>(&'a self) -> FfiIndexMapKeysIter<'a, K, V> ⓘ
pub fn values<'a>(&'a self) -> FfiIndexMapValuesIter<'a, K, V> ⓘ
pub fn values_mut<'a>(&'a mut self) -> FfiIndexMapValuesMutIter<'a, K, V> ⓘ
pub fn into_keys(self) -> FfiIndexMapIntoKeysIter<K, V> ⓘ
pub fn into_values(self) -> FfiIndexMapIntoValuesIter<K, V> ⓘ
Trait Implementations§
§impl<K, V> Clone for FfiIndexMap<K, V>
impl<K, V> Clone for FfiIndexMap<K, V>
§fn clone(&self) -> FfiIndexMap<K, V>
fn clone(&self) -> FfiIndexMap<K, V>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl<K, V> Debug for FfiIndexMap<K, V>
impl<K, V> Debug for FfiIndexMap<K, V>
§impl<K, V> Default for FfiIndexMap<K, V>
impl<K, V> Default for FfiIndexMap<K, V>
§fn default() -> FfiIndexMap<K, V>
fn default() -> FfiIndexMap<K, V>
Returns the “default value” for a type. Read more
§impl From<FfiIndexMap<FfiString, SerializedValue>> for SerializedEntityComponents
impl From<FfiIndexMap<FfiString, SerializedValue>> for SerializedEntityComponents
§fn from(
value: FfiIndexMap<FfiString, SerializedValue>,
) -> SerializedEntityComponents
fn from( value: FfiIndexMap<FfiString, SerializedValue>, ) -> SerializedEntityComponents
Converts to this type from the input type.
§impl From<FfiIndexMap<u64, SerializedEntityComponents>> for SerializedEntities
impl From<FfiIndexMap<u64, SerializedEntityComponents>> for SerializedEntities
§fn from(
value: FfiIndexMap<u64, SerializedEntityComponents>,
) -> SerializedEntities
fn from( value: FfiIndexMap<u64, SerializedEntityComponents>, ) -> SerializedEntities
Converts to this type from the input type.
§impl<K, V> FromIterator<(K, V)> for FfiIndexMap<K, V>
impl<K, V> FromIterator<(K, V)> for FfiIndexMap<K, V>
§fn from_iter<T>(iter: T) -> FfiIndexMap<K, V>where
T: IntoIterator<Item = (K, V)>,
fn from_iter<T>(iter: T) -> FfiIndexMap<K, V>where
T: IntoIterator<Item = (K, V)>,
Creates a value from an iterator. Read more
§impl<K, V> IntoIterator for FfiIndexMap<K, V>
impl<K, V> IntoIterator for FfiIndexMap<K, V>
§type IntoIter = FfiIndexMapIntoIter<K, V>
type IntoIter = FfiIndexMapIntoIter<K, V>
Which kind of iterator are we turning this into?
§fn into_iter(self) -> <FfiIndexMap<K, V> as IntoIterator>::IntoIter
fn into_iter(self) -> <FfiIndexMap<K, V> as IntoIterator>::IntoIter
Creates an iterator from a value. Read more
§impl<'a, K, V> IntoIterator for &'a FfiIndexMap<K, V>
impl<'a, K, V> IntoIterator for &'a FfiIndexMap<K, V>
§type IntoIter = FfiIndexMapPairsIter<'a, K, V>
type IntoIter = FfiIndexMapPairsIter<'a, K, V>
Which kind of iterator are we turning this into?
§fn into_iter(self) -> <&'a FfiIndexMap<K, V> as IntoIterator>::IntoIter
fn into_iter(self) -> <&'a FfiIndexMap<K, V> as IntoIterator>::IntoIter
Creates an iterator from a value. Read more
§impl<'a, K, V> IntoIterator for &'a mut FfiIndexMap<K, V>
impl<'a, K, V> IntoIterator for &'a mut FfiIndexMap<K, V>
§type IntoIter = FfiIndexMapPairsMutIter<'a, K, V>
type IntoIter = FfiIndexMapPairsMutIter<'a, K, V>
Which kind of iterator are we turning this into?
§fn into_iter(self) -> <&'a mut FfiIndexMap<K, V> as IntoIterator>::IntoIter
fn into_iter(self) -> <&'a mut FfiIndexMap<K, V> as IntoIterator>::IntoIter
Creates an iterator from a value. Read more
impl<K, V> Send for FfiIndexMap<K, V>
§impl<S, K, V> Serializable<S> for FfiIndexMap<K, V>
impl<S, K, V> Serializable<S> for FfiIndexMap<K, V>
fn serialize(&self, ctx: SerializerCtx<'_, S>, path: &str) -> SerializedValue
fn deserialize( &mut self, ctx: SerializerCtx<'_, S>, path: &str, serialized: &SerializedValue, )
impl<K, V> Sync for FfiIndexMap<K, V>
Auto Trait Implementations§
impl<K, V> Forget for FfiIndexMap<K, V>
impl<K, V> Freeze for FfiIndexMap<K, V>
impl<K, V> Move for FfiIndexMap<K, V>
impl<K, V> RefUnwindSafe for FfiIndexMap<K, V>where
FfiVec<FfiIndexMapElement<K, V>>: RefUnwindSafe,
impl<K, V> Unpin for FfiIndexMap<K, V>
impl<K, V> UnsafeUnpin for FfiIndexMap<K, V>where
FfiVec<FfiIndexMapElement<K, V>>: UnsafeUnpin,
impl<K, V> UnwindSafe for FfiIndexMap<K, V>where
FfiVec<FfiIndexMapElement<K, V>>: UnwindSafe,
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().