pub type EdgeIndex = usize;
Expand description
Csr edge index type, a plain integer.
Trait Implementations§
source§impl BoundedMeasure for usize
impl BoundedMeasure for usize
source§impl<'de> Deserialize<'de> for usize
impl<'de> Deserialize<'de> for usize
source§fn deserialize<D>(
deserializer: D
) -> Result<usize, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>( deserializer: D ) -> Result<usize, <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
§impl From<NonMaxUsize> for usize
impl From<NonMaxUsize> for usize
§fn from(value: NonMaxUsize) -> usize
fn from(value: NonMaxUsize) -> usize
1.31.0 · source§impl From<NonZeroUsize> for usize
impl From<NonZeroUsize> for usize
source§fn from(nonzero: NonZeroUsize) -> usize
fn from(nonzero: NonZeroUsize) -> usize
Converts a NonZeroUsize
into an usize
§impl FromReflect for usize
impl FromReflect for usize
§fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<usize>
fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<usize>
Self
from a reflected value.§impl GetTypeRegistration for usize
impl GetTypeRegistration for usize
source§impl<'de, E> IntoDeserializer<'de, E> for usizewhere
E: Error,
impl<'de, E> IntoDeserializer<'de, E> for usizewhere E: Error,
§type Deserializer = UsizeDeserializer<E>
type Deserializer = UsizeDeserializer<E>
source§fn into_deserializer(self) -> UsizeDeserializer<E>
fn into_deserializer(self) -> UsizeDeserializer<E>
§impl Reflect for usize
impl Reflect for usize
§fn get_represented_type_info(&self) -> Option<&'static TypeInfo>
fn get_represented_type_info(&self) -> Option<&'static TypeInfo>
§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut dyn Any
.§fn into_reflect(self: Box<usize, Global>) -> Box<dyn Reflect, Global>
fn into_reflect(self: Box<usize, Global>) -> Box<dyn Reflect, Global>
§fn as_reflect(&self) -> &(dyn Reflect + 'static)
fn as_reflect(&self) -> &(dyn Reflect + 'static)
§fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)
fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)
§fn clone_value(&self) -> Box<dyn Reflect, Global>
fn clone_value(&self) -> Box<dyn Reflect, Global>
Reflect
trait object. Read more§fn apply(&mut self, value: &(dyn Reflect + 'static))
fn apply(&mut self, value: &(dyn Reflect + 'static))
§fn set(
&mut self,
value: Box<dyn Reflect, Global>
) -> Result<(), Box<dyn Reflect, Global>>
fn set( &mut self, value: Box<dyn Reflect, Global> ) -> Result<(), Box<dyn Reflect, Global>>
§fn reflect_ref(&self) -> ReflectRef<'_>
fn reflect_ref(&self) -> ReflectRef<'_>
§fn reflect_mut(&mut self) -> ReflectMut<'_>
fn reflect_mut(&mut self) -> ReflectMut<'_>
§fn reflect_owned(self: Box<usize, Global>) -> ReflectOwned
fn reflect_owned(self: Box<usize, Global>) -> ReflectOwned
§fn reflect_hash(&self) -> Option<u64>
fn reflect_hash(&self) -> Option<u64>
§fn reflect_partial_eq(&self, value: &(dyn Reflect + 'static)) -> Option<bool>
fn reflect_partial_eq(&self, value: &(dyn Reflect + 'static)) -> Option<bool>
§fn debug(&self, f: &mut Formatter<'_>) -> Result<(), Error>
fn debug(&self, f: &mut Formatter<'_>) -> Result<(), Error>
§fn serializable(&self) -> Option<Serializable<'_>>
fn serializable(&self) -> Option<Serializable<'_>>
§fn is_dynamic(&self) -> bool
fn is_dynamic(&self) -> bool
source§impl Serialize for usize
impl Serialize for usize
source§fn 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,
§impl SparseSetIndex for usize
impl SparseSetIndex for usize
§fn sparse_set_index(&self) -> usize
fn sparse_set_index(&self) -> usize
§fn get_sparse_set_index(value: usize) -> usize
fn get_sparse_set_index(value: usize) -> usize
1.34.0 · source§impl TryFrom<i128> for usize
impl TryFrom<i128> for usize
source§fn try_from(u: i128) -> Result<usize, <usize as TryFrom<i128>>::Error>
fn try_from(u: i128) -> Result<usize, <usize as TryFrom<i128>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
§type Error = TryFromIntError
type Error = TryFromIntError
1.34.0 · source§impl TryFrom<i16> for usize
impl TryFrom<i16> for usize
source§fn try_from(u: i16) -> Result<usize, <usize as TryFrom<i16>>::Error>
fn try_from(u: i16) -> Result<usize, <usize as TryFrom<i16>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
§type Error = TryFromIntError
type Error = TryFromIntError
1.34.0 · source§impl TryFrom<i32> for usize
impl TryFrom<i32> for usize
source§fn try_from(u: i32) -> Result<usize, <usize as TryFrom<i32>>::Error>
fn try_from(u: i32) -> Result<usize, <usize as TryFrom<i32>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
§type Error = TryFromIntError
type Error = TryFromIntError
1.34.0 · source§impl TryFrom<i64> for usize
impl TryFrom<i64> for usize
source§fn try_from(u: i64) -> Result<usize, <usize as TryFrom<i64>>::Error>
fn try_from(u: i64) -> Result<usize, <usize as TryFrom<i64>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
§type Error = TryFromIntError
type Error = TryFromIntError
1.34.0 · source§impl TryFrom<i8> for usize
impl TryFrom<i8> for usize
source§fn try_from(u: i8) -> Result<usize, <usize as TryFrom<i8>>::Error>
fn try_from(u: i8) -> Result<usize, <usize as TryFrom<i8>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
§type Error = TryFromIntError
type Error = TryFromIntError
1.34.0 · source§impl TryFrom<isize> for usize
impl TryFrom<isize> for usize
source§fn try_from(u: isize) -> Result<usize, <usize as TryFrom<isize>>::Error>
fn try_from(u: isize) -> Result<usize, <usize as TryFrom<isize>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
§type Error = TryFromIntError
type Error = TryFromIntError
1.34.0 · source§impl TryFrom<u128> for usize
impl TryFrom<u128> for usize
source§fn try_from(u: u128) -> Result<usize, <usize as TryFrom<u128>>::Error>
fn try_from(u: u128) -> Result<usize, <usize as TryFrom<u128>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
§type Error = TryFromIntError
type Error = TryFromIntError
1.34.0 · source§impl TryFrom<u32> for usize
impl TryFrom<u32> for usize
source§fn try_from(value: u32) -> Result<usize, <usize as TryFrom<u32>>::Error>
fn try_from(value: u32) -> Result<usize, <usize as TryFrom<u32>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
§type Error = TryFromIntError
type Error = TryFromIntError
1.34.0 · source§impl TryFrom<u64> for usize
impl TryFrom<u64> for usize
source§fn try_from(value: u64) -> Result<usize, <usize as TryFrom<u64>>::Error>
fn try_from(value: u64) -> Result<usize, <usize as TryFrom<u64>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.