Struct otter_api_tests::bundles::LibInBundleI
source · [−]#[repr(transparent)]pub struct LibInBundleI { /* private fields */ }
Implementations
sourceimpl LibInBundleI
impl LibInBundleI
sourcepub const MAX_INDEX: usize = 18_446_744_073_709_551_615usize
pub const MAX_INDEX: usize = 18_446_744_073_709_551_615usize
If Self::CHECKS_MAX_INDEX
is true, we’ll assert if trying to
produce a value larger than this in any of the ctors that don’t
have unchecked
in their name.
sourcepub const CHECKS_MAX_INDEX: bool = true
pub const CHECKS_MAX_INDEX: bool = true
Does this index type assert if asked to construct an index larger than MAX_INDEX?
sourcepub fn new(value: usize) -> LibInBundleI
pub fn new(value: usize) -> LibInBundleI
Construct this index type from a usize. Alias for from_usize
.
sourcepub fn from_raw(value: usize) -> LibInBundleI
pub fn from_raw(value: usize) -> LibInBundleI
Construct this index type from the wrapped integer type.
sourcepub fn from_foreign<F>(value: F) -> LibInBundleI where
F: Idx,
pub fn from_foreign<F>(value: F) -> LibInBundleI where
F: Idx,
Construct this index type from one in a different domain
sourcepub const fn from_usize_unchecked(value: usize) -> LibInBundleI
pub const fn from_usize_unchecked(value: usize) -> LibInBundleI
Construct from a usize without any checks.
sourcepub const fn from_raw_unchecked(raw: usize) -> LibInBundleI
pub const fn from_raw_unchecked(raw: usize) -> LibInBundleI
Construct from the underlying type without any checks.
sourcepub fn from_usize(value: usize) -> LibInBundleI
pub fn from_usize(value: usize) -> LibInBundleI
Construct this index type from a usize.
sourcepub fn check_index(v: usize)
pub fn check_index(v: usize)
Asserts v <= Self::MAX_INDEX
unless Self::CHECKS_MAX_INDEX is false.
Trait Implementations
sourceimpl Add<LibInBundleI> for LibInBundleI
impl Add<LibInBundleI> for LibInBundleI
type Output = LibInBundleI
type Output = LibInBundleI
The resulting type after applying the +
operator.
sourcefn add(self, other: LibInBundleI) -> LibInBundleI
fn add(self, other: LibInBundleI) -> LibInBundleI
Performs the +
operation. Read more
sourceimpl Add<LibInBundleI> for usize
impl Add<LibInBundleI> for usize
type Output = LibInBundleI
type Output = LibInBundleI
The resulting type after applying the +
operator.
sourcefn add(self, other: LibInBundleI) -> LibInBundleI
fn add(self, other: LibInBundleI) -> LibInBundleI
Performs the +
operation. Read more
sourceimpl Add<usize> for LibInBundleI
impl Add<usize> for LibInBundleI
type Output = LibInBundleI
type Output = LibInBundleI
The resulting type after applying the +
operator.
sourcefn add(self, other: usize) -> LibInBundleI
fn add(self, other: usize) -> LibInBundleI
Performs the +
operation. Read more
sourceimpl AddAssign<LibInBundleI> for LibInBundleI
impl AddAssign<LibInBundleI> for LibInBundleI
sourcefn add_assign(&mut self, other: LibInBundleI)
fn add_assign(&mut self, other: LibInBundleI)
Performs the +=
operation. Read more
sourceimpl AddAssign<usize> for LibInBundleI
impl AddAssign<usize> for LibInBundleI
sourcefn add_assign(&mut self, other: usize)
fn add_assign(&mut self, other: usize)
Performs the +=
operation. Read more
sourceimpl Clone for LibInBundleI
impl Clone for LibInBundleI
sourcefn clone(&self) -> LibInBundleI
fn clone(&self) -> LibInBundleI
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for LibInBundleI
impl Debug for LibInBundleI
sourceimpl<'de> Deserialize<'de> for LibInBundleI
impl<'de> Deserialize<'de> for LibInBundleI
sourcefn deserialize<D>(
deserializer: D
) -> Result<LibInBundleI, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<LibInBundleI, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl From<LibInBundleI> for usize
impl From<LibInBundleI> for usize
sourcefn from(v: LibInBundleI) -> usize
fn from(v: LibInBundleI) -> usize
Converts to this type from the input type.
sourceimpl From<usize> for LibInBundleI
impl From<usize> for LibInBundleI
sourcefn from(value: usize) -> LibInBundleI
fn from(value: usize) -> LibInBundleI
Converts to this type from the input type.
sourceimpl Hash for LibInBundleI
impl Hash for LibInBundleI
sourceimpl Idx for LibInBundleI
impl Idx for LibInBundleI
sourcefn from_usize(value: usize) -> LibInBundleI
fn from_usize(value: usize) -> LibInBundleI
Construct an Index from a usize. This is equivalent to From
sourceimpl Ord for LibInBundleI
impl Ord for LibInBundleI
sourceimpl PartialEq<LibInBundleI> for LibInBundleI
impl PartialEq<LibInBundleI> for LibInBundleI
sourcefn eq(&self, other: &LibInBundleI) -> bool
fn eq(&self, other: &LibInBundleI) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &LibInBundleI) -> bool
fn ne(&self, other: &LibInBundleI) -> bool
This method tests for !=
.
sourceimpl PartialEq<LibInBundleI> for usize
impl PartialEq<LibInBundleI> for usize
sourceimpl PartialEq<usize> for LibInBundleI
impl PartialEq<usize> for LibInBundleI
sourceimpl PartialOrd<LibInBundleI> for LibInBundleI
impl PartialOrd<LibInBundleI> for LibInBundleI
sourcefn partial_cmp(&self, other: &LibInBundleI) -> Option<Ordering>
fn partial_cmp(&self, other: &LibInBundleI) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl PartialOrd<LibInBundleI> for usize
impl PartialOrd<LibInBundleI> for usize
sourcefn partial_cmp(&self, other: &LibInBundleI) -> Option<Ordering>
fn partial_cmp(&self, other: &LibInBundleI) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl PartialOrd<usize> for LibInBundleI
impl PartialOrd<usize> for LibInBundleI
sourcefn partial_cmp(&self, other: &usize) -> Option<Ordering>
fn partial_cmp(&self, other: &usize) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl Rem<usize> for LibInBundleI
impl Rem<usize> for LibInBundleI
type Output = LibInBundleI
type Output = LibInBundleI
The resulting type after applying the %
operator.
sourcefn rem(self, other: usize) -> LibInBundleI
fn rem(self, other: usize) -> LibInBundleI
Performs the %
operation. Read more
sourceimpl Serialize for LibInBundleI
impl Serialize for LibInBundleI
sourcefn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
sourceimpl Sub<LibInBundleI> for usize
impl Sub<LibInBundleI> for usize
type Output = LibInBundleI
type Output = LibInBundleI
The resulting type after applying the -
operator.
sourcefn sub(self, other: LibInBundleI) -> LibInBundleI
fn sub(self, other: LibInBundleI) -> LibInBundleI
Performs the -
operation. Read more
sourceimpl Sub<LibInBundleI> for LibInBundleI
impl Sub<LibInBundleI> for LibInBundleI
type Output = LibInBundleI
type Output = LibInBundleI
The resulting type after applying the -
operator.
sourcefn sub(self, other: LibInBundleI) -> LibInBundleI
fn sub(self, other: LibInBundleI) -> LibInBundleI
Performs the -
operation. Read more
sourceimpl Sub<usize> for LibInBundleI
impl Sub<usize> for LibInBundleI
type Output = LibInBundleI
type Output = LibInBundleI
The resulting type after applying the -
operator.
sourcefn sub(self, other: usize) -> LibInBundleI
fn sub(self, other: usize) -> LibInBundleI
Performs the -
operation. Read more
sourceimpl SubAssign<LibInBundleI> for LibInBundleI
impl SubAssign<LibInBundleI> for LibInBundleI
sourcefn sub_assign(&mut self, other: LibInBundleI)
fn sub_assign(&mut self, other: LibInBundleI)
Performs the -=
operation. Read more
sourceimpl SubAssign<usize> for LibInBundleI
impl SubAssign<usize> for LibInBundleI
sourcefn sub_assign(&mut self, other: usize)
fn sub_assign(&mut self, other: usize)
Performs the -=
operation. Read more
impl Copy for LibInBundleI
impl Eq for LibInBundleI
impl StructuralEq for LibInBundleI
impl StructuralPartialEq for LibInBundleI
Auto Trait Implementations
impl RefUnwindSafe for LibInBundleI
impl Send for LibInBundleI
impl Sync for LibInBundleI
impl Unpin for LibInBundleI
impl UnwindSafe for LibInBundleI
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>ⓘNotable traits for Box<W, Global>impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>ⓘNotable traits for Box<W, Global>impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;
W: Write + ?Sized, impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;
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
. Read more
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read more
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. Read more
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. Read more
impl<A> DynCastExt for A
impl<A> DynCastExt for A
fn dyn_cast<T>(
self
) -> Result<<A as DynCastExtHelper<T>>::Target, <A as DynCastExtHelper<T>>::Source> where
A: DynCastExtHelper<T>,
T: ?Sized,
fn dyn_cast<T>(
self
) -> Result<<A as DynCastExtHelper<T>>::Target, <A as DynCastExtHelper<T>>::Source> where
A: DynCastExtHelper<T>,
T: ?Sized,
Use this to cast from one trait object type to another. Read more
fn dyn_upcast<T>(self) -> <A as DynCastExtAdvHelper<T, T>>::Target where
A: DynCastExtAdvHelper<T, T, Source = <A as DynCastExtAdvHelper<T, T>>::Target>,
T: ?Sized,
fn dyn_upcast<T>(self) -> <A as DynCastExtAdvHelper<T, T>>::Target where
A: DynCastExtAdvHelper<T, T, Source = <A as DynCastExtAdvHelper<T, T>>::Target>,
T: ?Sized,
Use this to upcast a trait to one of its supertraits. Read more
fn dyn_cast_adv<F, T>(
self
) -> Result<<A as DynCastExtAdvHelper<F, T>>::Target, <A as DynCastExtAdvHelper<F, T>>::Source> where
A: DynCastExtAdvHelper<F, T>,
F: ?Sized,
T: ?Sized,
fn dyn_cast_adv<F, T>(
self
) -> Result<<A as DynCastExtAdvHelper<F, T>>::Target, <A as DynCastExtAdvHelper<F, T>>::Source> where
A: DynCastExtAdvHelper<F, T>,
F: ?Sized,
T: ?Sized,
fn dyn_cast_with_config<C>(
self
) -> Result<<A as DynCastExtAdvHelper<<C as DynCastConfig>::Source, <C as DynCastConfig>::Target>>::Target, <A as DynCastExtAdvHelper<<C as DynCastConfig>::Source, <C as DynCastConfig>::Target>>::Source> where
C: DynCastConfig,
A: DynCastExtAdvHelper<<C as DynCastConfig>::Source, <C as DynCastConfig>::Target>,
fn dyn_cast_with_config<C>(
self
) -> Result<<A as DynCastExtAdvHelper<<C as DynCastConfig>::Source, <C as DynCastConfig>::Target>>::Target, <A as DynCastExtAdvHelper<<C as DynCastConfig>::Source, <C as DynCastConfig>::Target>>::Source> where
C: DynCastConfig,
A: DynCastExtAdvHelper<<C as DynCastConfig>::Source, <C as DynCastConfig>::Target>,
Use this to cast from one trait object type to another. With this method the type parameter is a config type that uniquely specifies which cast should be preformed. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
impl<I, T> IdxSliceIndex<I, T> for I where
I: Idx,
impl<I, T> IdxSliceIndex<I, T> for I where
I: Idx,
type Output = T
fn get(
self,
slice: &IndexSlice<I, [T]>
) -> Option<&<I as IdxSliceIndex<I, T>>::Output>
fn get_mut(
self,
slice: &mut IndexSlice<I, [T]>
) -> Option<&mut <I as IdxSliceIndex<I, T>>::Output>
fn index(
self,
slice: &IndexSlice<I, [T]>
) -> &<I as IdxSliceIndex<I, T>>::Output
fn index_mut(
self,
slice: &mut IndexSlice<I, [T]>
) -> &mut <I as IdxSliceIndex<I, T>>::Output
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
T: Future, type Output = <T as Future>::Output;
sourcefn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
T: Future, type Output = <T as Future>::Output;
sourceimpl<T> Serialize for T where
T: Serialize + ?Sized,
impl<T> Serialize for T where
T: Serialize + ?Sized,
fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<Ok, Error>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output;
where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output;
where
S: Into<Dispatch>,
T: Future, type Output = <T as Future>::Output;
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output;
fn with_current_subscriber(self) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output;
T: Future, type Output = <T as Future>::Output;
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more