referrerpolicy=no-referrer-when-downgrade

Trait xcm_emulator::Deref

1.0.0 · source ·
pub trait Deref {
    type Target: ?Sized;

    // Required method
    fn deref(&self) -> &Self::Target;
}
Expand description

Used for immutable dereferencing operations, like *v.

In addition to being used for explicit dereferencing operations with the (unary) * operator in immutable contexts, Deref is also used implicitly by the compiler in many circumstances. This mechanism is called Deref coercion”. In mutable contexts, DerefMut is used and mutable deref coercion similarly occurs.

Warning: Deref coercion is a powerful language feature which has far-reaching implications for every type that implements Deref. The compiler will silently insert calls to Deref::deref. For this reason, one should be careful about implementing Deref and only do so when deref coercion is desirable. See below for advice on when this is typically desirable or undesirable.

Types that implement Deref or DerefMut are often called “smart pointers” and the mechanism of deref coercion has been specifically designed to facilitate the pointer-like behaviour that name suggests. Often, the purpose of a “smart pointer” type is to change the ownership semantics of a contained value (for example, Rc or Cow) or the storage semantics of a contained value (for example, Box).

§Deref coercion

If T implements Deref<Target = U>, and v is a value of type T, then:

  • In immutable contexts, *v (where T is neither a reference nor a raw pointer) is equivalent to *Deref::deref(&v).
  • Values of type &T are coerced to values of type &U
  • T implicitly implements all the methods of the type U which take the &self receiver.

For more details, visit the chapter in The Rust Programming Language as well as the reference sections on the dereference operator, method resolution, and type coercions.

§When to implement Deref or DerefMut

The same advice applies to both deref traits. In general, deref traits should be implemented if:

  1. a value of the type transparently behaves like a value of the target type;
  2. the implementation of the deref function is cheap; and
  3. users of the type will not be surprised by any deref coercion behaviour.

In general, deref traits should not be implemented if:

  1. the deref implementations could fail unexpectedly; or
  2. the type has methods that are likely to collide with methods on the target type; or
  3. committing to deref coercion as part of the public API is not desirable.

Note that there’s a large difference between implementing deref traits generically over many target types, and doing so only for specific target types.

Generic implementations, such as for Box<T> (which is generic over every type and dereferences to T) should be careful to provide few or no methods, since the target type is unknown and therefore every method could collide with one on the target type, causing confusion for users. impl<T> Box<T> has no methods (though several associated functions), partly for this reason.

Specific implementations, such as for String (whose Deref implementation has Target = str) can have many methods, since avoiding collision is much easier. String and str both have many methods, and String additionally behaves as if it has every method of str because of deref coercion. The implementing type may also be generic while the implementation is still specific in this sense; for example, Vec<T> dereferences to [T], so methods of T are not applicable.

Consider also that deref coercion means that deref traits are a much larger part of a type’s public API than any other trait as it is implicitly called by the compiler. Therefore, it is advisable to consider whether this is something you are comfortable supporting as a public API.

The AsRef and Borrow traits have very similar signatures to Deref. It may be desirable to implement either or both of these, whether in addition to or rather than deref traits. See their documentation for details.

§Fallibility

This trait’s method should never unexpectedly fail. Deref coercion means the compiler will often insert calls to Deref::deref implicitly. Failure during dereferencing can be extremely confusing when Deref is invoked implicitly. In the majority of uses it should be infallible, though it may be acceptable to panic if the type is misused through programmer error, for example.

However, infallibility is not enforced and therefore not guaranteed. As such, unsafe code should not rely on infallibility in general for soundness.

§Examples

A struct with a single field which is accessible by dereferencing the struct.

use std::ops::Deref;

struct DerefExample<T> {
    value: T
}

impl<T> Deref for DerefExample<T> {
    type Target = T;

    fn deref(&self) -> &Self::Target {
        &self.value
    }
}

let x = DerefExample { value: 'a' };
assert_eq!('a', *x);

Required Associated Types§

1.0.0 · source

type Target: ?Sized

The resulting type after dereferencing.

Required Methods§

1.0.0 · source

fn deref(&self) -> &Self::Target

Dereferences the value.

Implementors§

1.0.0 · source§

impl Deref for CString

§

type Target = CStr

1.0.0 · source§

impl Deref for String

§

type Target = str

1.0.0 · source§

impl Deref for OsString

1.0.0 · source§

impl Deref for PathBuf

§

type Target = Path

source§

impl Deref for Error

§

type Target = dyn Error + Send + Sync

source§

impl Deref for Buffer

§

type Target = str

source§

impl Deref for And

§

type Target = WithSpan

source§

impl Deref for At

§

type Target = WithSpan

source§

impl Deref for Caret

§

type Target = WithSpan

source§

impl Deref for Colon

§

type Target = WithSpan

source§

impl Deref for Comma

§

type Target = WithSpan

source§

impl Deref for Dollar

§

type Target = WithSpan

source§

impl Deref for Dot

§

type Target = WithSpan

source§

impl Deref for Eq

§

type Target = WithSpan

source§

impl Deref for Gt

§

type Target = WithSpan

source§

impl Deref for Lt

§

type Target = WithSpan

source§

impl Deref for Minus

§

type Target = WithSpan

source§

impl Deref for Not

§

type Target = WithSpan

source§

impl Deref for Or

§

type Target = WithSpan

source§

impl Deref for Percent

§

type Target = WithSpan

source§

impl Deref for Plus

§

type Target = WithSpan

source§

impl Deref for Pound

§

type Target = WithSpan

source§

impl Deref for Question

§

type Target = WithSpan

source§

impl Deref for Semi

§

type Target = WithSpan

source§

impl Deref for Slash

§

type Target = WithSpan

source§

impl Deref for Star

§

type Target = WithSpan

source§

impl Deref for Tilde

§

type Target = WithSpan

source§

impl Deref for Underscore

§

type Target = WithSpan

§

impl Deref for Bytes

§

type Target = [u8]

§

impl Deref for Bytes

§

type Target = [u8]

§

impl Deref for Bytes

§

type Target = [u8]

§

impl Deref for BytesMut

§

type Target = [u8]

§

impl Deref for CandidateHash

§

type Target = H256

§

impl Deref for Duration

§

impl Deref for EnteredSpan

§

type Target = Span

§

impl Deref for ExecutorParams

§

type Target = Vec<ExecutorParam>

§

impl Deref for Function

§

type Target = FunctionStencil

§

impl Deref for GlobalContext

§

type Target = Secp256k1<All>

§

impl Deref for Gpr

§

type Target = Reg

§

impl Deref for Ia5String

§

type Target = StrOwned

§

impl Deref for InherentDataProvider

§

type Target = Timestamp

§

impl Deref for InherentDataProvider

§

type Target = Slot

§

impl Deref for InherentDataProvider

§

type Target = Slot

§

impl Deref for KebabStr

§

type Target = str

§

impl Deref for KebabString

§

type Target = KebabStr

§

impl Deref for KeystoreExt

§

type Target = Arc<dyn Keystore>

§

impl Deref for Literal

§

type Target = Vec<u8>

§

impl Deref for MmapVec

§

type Target = [u8]

§

impl Deref for OffchainDbExt

§

type Target = Box<dyn DbExternalities>

§

impl Deref for OffchainWorkerExt

§

type Target = Box<dyn Externalities>

§

impl Deref for OpaqueMetadata

§

type Target = Vec<u8>

§

impl Deref for PrefixedStorageKey

§

type Target = Vec<u8>

§

impl Deref for PrefixedStorageKey

§

type Target = Vec<u8>

§

impl Deref for PrintableString

§

type Target = StrOwned

§

impl Deref for ProofSizeExt

§

type Target = Box<dyn ProofSizeProvider + Send + Sync>

§

impl Deref for ReadRuntimeVersionExt

§

type Target = Box<dyn ReadRuntimeVersion>

§

impl Deref for SerializedSignature

§

type Target = [u8]

§

impl Deref for Signature

§

type Target = [u8]

§

impl Deref for Signature

§

type Target = [u8]

§

impl Deref for Signature

§

type Target = [u8]

§

impl Deref for Signature

§

type Target = [u8]

§

impl Deref for Signature

§

type Target = [u8]

§

impl Deref for Signature

§

type Target = [u8]

§

impl Deref for Slot

§

type Target = u64

§

impl Deref for SparseTerm

§

type Target = [(usize, usize)]

§

impl Deref for TeletexString

§

type Target = StrOwned

§

impl Deref for Timestamp

§

impl Deref for Timestamp

§

type Target = u64

§

impl Deref for TransactionPoolExt

§

type Target = Box<dyn TransactionPool + Send>

§

impl Deref for VMExternRef

§

type Target = dyn Any

§

impl Deref for VariableArgs

§

type Target = [Value]

§

impl Deref for WakerRef<'_>

§

impl Deref for Xmm

§

type Target = Reg

1.36.0 · source§

impl<'a> Deref for IoSlice<'a>

§

type Target = [u8]

1.36.0 · source§

impl<'a> Deref for IoSliceMut<'a>

§

type Target = [u8]

§

impl<'a> Deref for Ia5StringRef<'a>

§

type Target = StrRef<'a>

§

impl<'a> Deref for Ident<'a>

§

type Target = str

§

impl<'a> Deref for PrintableStringRef<'a>

§

type Target = StrRef<'a>

§

impl<'a> Deref for TeletexStringRef<'a>

§

type Target = StrRef<'a>

§

impl<'a> Deref for Utf8StringRef<'a>

§

type Target = StrRef<'a>

§

impl<'a> Deref for VideotexStringRef<'a>

§

type Target = StrRef<'a>

source§

impl<'a, 'f> Deref for VaList<'a, 'f>
where 'f: 'a,

§

type Target = VaListImpl<'f>

§

impl<'a, R, G, T> Deref for MappedReentrantMutexGuard<'a, R, G, T>
where R: RawMutex + 'a, G: GetThreadId + 'a, T: 'a + ?Sized,

§

type Target = T

§

impl<'a, R, G, T> Deref for ReentrantMutexGuard<'a, R, G, T>
where R: RawMutex + 'a, G: GetThreadId + 'a, T: 'a + ?Sized,

§

type Target = T

§

impl<'a, R, T> Deref for MappedMutexGuard<'a, R, T>
where R: RawMutex + 'a, T: 'a + ?Sized,

§

type Target = T

§

impl<'a, R, T> Deref for MappedRwLockReadGuard<'a, R, T>
where R: RawRwLock + 'a, T: 'a + ?Sized,

§

type Target = T

§

impl<'a, R, T> Deref for MappedRwLockWriteGuard<'a, R, T>
where R: RawRwLock + 'a, T: 'a + ?Sized,

§

type Target = T

§

impl<'a, R, T> Deref for MutexGuard<'a, R, T>
where R: RawMutex + 'a, T: 'a + ?Sized,

§

type Target = T

§

impl<'a, R, T> Deref for RwLockReadGuard<'a, R, T>
where R: RawRwLock + 'a, T: 'a + ?Sized,

§

type Target = T

§

impl<'a, R, T> Deref for RwLockUpgradableReadGuard<'a, R, T>
where R: RawRwLockUpgrade + 'a, T: 'a + ?Sized,

§

type Target = T

§

impl<'a, R, T> Deref for RwLockWriteGuard<'a, R, T>
where R: RawRwLock + 'a, T: 'a + ?Sized,

§

type Target = T

§

impl<'a, S> Deref for ANSIGenericString<'a, S>
where S: 'a + ToOwned + ?Sized, <S as ToOwned>::Owned: Debug,

§

type Target = S

§

impl<'a, T> Deref for ApiRef<'a, T>

§

type Target = T

§

impl<'a, T> Deref for Ref<'a, T>

§

type Target = T

source§

impl<'a, T, C> Deref for sharded_slab::pool::Ref<'a, T, C>
where T: Clear + Default, C: Config,

§

type Target = T

source§

impl<'a, T, C> Deref for sharded_slab::pool::RefMut<'a, T, C>
where C: Config, T: Clear + Default,

§

type Target = T

source§

impl<'a, T, C> Deref for Entry<'a, T, C>
where C: Config,

§

type Target = T

§

impl<'a, T, F> Deref for PoolGuard<'a, T, F>
where T: Send, F: Fn() -> T,

§

type Target = T

§

impl<'a, T, S> Deref for BoundedSlice<'a, T, S>

§

type Target = [T]

§

impl<'a, T, U> Deref for Ref<'a, T, U>
where T: EncodeLike<U>, U: Encode,

§

type Target = T

source§

impl<'c, 'a> Deref for StepCursor<'c, 'a>

§

type Target = Cursor<'c>

§

impl<'input, Endian> Deref for EndianSlice<'input, Endian>
where Endian: Endianity,

§

type Target = [u8]

§

impl<'input, Endian> Deref for EndianSlice<'input, Endian>
where Endian: Endianity,

§

type Target = [u8]

§

impl<'s, T> Deref for SliceVec<'s, T>

§

type Target = [T]

§

impl<A> Deref for ArrayVec<A>
where A: Array,

§

type Target = [<A as Array>::Item]

§

impl<A> Deref for SmallVec<A>
where A: Array,

§

type Target = [<A as Array>::Item]

§

impl<A> Deref for TinyVec<A>
where A: Array,

§

type Target = [<A as Array>::Item]

§

impl<A, O> Deref for BitArray<A, O>
where A: BitViewSized, O: BitOrder,

§

type Target = BitSlice<<A as BitView>::Store, O>

1.0.0 · source§

impl<B> Deref for Cow<'_, B>
where B: ToOwned + ?Sized, <B as ToOwned>::Owned: Borrow<B>,

§

type Target = B

§

impl<B, T> Deref for Ref<B, [T]>
where B: ByteSlice, T: FromBytes,

§

type Target = [T]

§

impl<B, T> Deref for Ref<B, T>
where B: ByteSlice, T: FromBytes,

§

type Target = T

§

impl<C> Deref for NonZeroScalar<C>
where C: CurveArithmetic,

§

type Target = <C as CurveArithmetic>::Scalar

source§

impl<E> Deref for tracing_subscriber::fmt::fmt_layer::FormattedFields<E>

§

impl<E> Deref for FormattedFields<E>
where E: ?Sized,

§

impl<F> Deref for DensePolynomial<F>
where F: Field,

§

type Target = [F]

§

impl<F> Deref for SparsePolynomial<F>
where F: Field,

§

type Target = [(usize, F)]

§

impl<H, T> Deref for Compact<H, T>

§

type Target = T

§

impl<K, H, const B: usize> Deref for PedersenVrf<K, H, B>
where K: AffineRepr, H: AffineRepr<ScalarField = <K as AffineRepr>::ScalarField>,

§

type Target = ThinVrf<K>

§

impl<K, V, S> Deref for AHashMap<K, V, S>

§

type Target = HashMap<K, V, S>

§

impl<K, V, S> Deref for BoundedBTreeMap<K, V, S>
where K: Ord,

§

type Target = BTreeMap<K, V>

source§

impl<L, R> Deref for Either<L, R>
where L: Deref, R: Deref<Target = <L as Deref>::Target>,

§

type Target = <L as Deref>::Target

§

impl<M, T, O> Deref for BitRef<'_, M, T, O>
where M: Mutability, T: BitStore, O: BitOrder,

§

type Target = bool

§

impl<P> Deref for NonIdentity<P>

§

type Target = P

1.33.0 · source§

impl<Ptr> Deref for Pin<Ptr>
where Ptr: Deref,

§

type Target = <Ptr as Deref>::Target

§

impl<S> Deref for BlockingStream<S>
where S: Stream + Unpin,

§

type Target = S

1.0.0 · source§

impl<T> Deref for &T
where T: ?Sized,

§

type Target = T

1.0.0 · source§

impl<T> Deref for &mut T
where T: ?Sized,

§

type Target = T

source§

impl<T> Deref for ThinBox<T>
where T: ?Sized,

§

type Target = T

1.0.0 · source§

impl<T> Deref for core::cell::Ref<'_, T>
where T: ?Sized,

§

type Target = T

1.0.0 · source§

impl<T> Deref for core::cell::RefMut<'_, T>
where T: ?Sized,

§

type Target = T

1.20.0 · source§

impl<T> Deref for ManuallyDrop<T>
where T: ?Sized,

§

type Target = T

1.9.0 · source§

impl<T> Deref for AssertUnwindSafe<T>

§

type Target = T

source§

impl<T> Deref for std::sync::mutex::MappedMutexGuard<'_, T>
where T: ?Sized,

§

type Target = T

1.0.0 · source§

impl<T> Deref for std::sync::mutex::MutexGuard<'_, T>
where T: ?Sized,

§

type Target = T

source§

impl<T> Deref for ReentrantLockGuard<'_, T>
where T: ?Sized,

§

type Target = T

source§

impl<T> Deref for std::sync::rwlock::MappedRwLockReadGuard<'_, T>
where T: ?Sized,

§

type Target = T

source§

impl<T> Deref for std::sync::rwlock::MappedRwLockWriteGuard<'_, T>
where T: ?Sized,

§

type Target = T

1.0.0 · source§

impl<T> Deref for std::sync::rwlock::RwLockReadGuard<'_, T>
where T: ?Sized,

§

type Target = T

1.0.0 · source§

impl<T> Deref for std::sync::rwlock::RwLockWriteGuard<'_, T>
where T: ?Sized,

§

type Target = T

source§

impl<T> Deref for Unit<T>

§

type Target = T

source§

impl<T> Deref for OPoint<T, Const<1>>
where T: Scalar,

§

type Target = X<T>

source§

impl<T> Deref for OPoint<T, Const<2>>
where T: Scalar,

§

type Target = XY<T>

source§

impl<T> Deref for OPoint<T, Const<3>>
where T: Scalar,

§

type Target = XYZ<T>

source§

impl<T> Deref for OPoint<T, Const<4>>
where T: Scalar,

§

type Target = XYZW<T>

source§

impl<T> Deref for OPoint<T, Const<5>>
where T: Scalar,

§

type Target = XYZWA<T>

source§

impl<T> Deref for OPoint<T, Const<6>>
where T: Scalar,

§

type Target = XYZWAB<T>

source§

impl<T> Deref for Quaternion<T>
where T: Scalar + SimdValue,

§

type Target = IJKW<T>

source§

impl<T> Deref for Scale<T, 1>
where T: Scalar,

§

type Target = X<T>

source§

impl<T> Deref for Scale<T, 2>
where T: Scalar,

§

type Target = XY<T>

source§

impl<T> Deref for Scale<T, 3>
where T: Scalar,

§

type Target = XYZ<T>

source§

impl<T> Deref for Scale<T, 4>
where T: Scalar,

§

type Target = XYZW<T>

source§

impl<T> Deref for Scale<T, 5>
where T: Scalar,

§

type Target = XYZWA<T>

source§

impl<T> Deref for Scale<T, 6>
where T: Scalar,

§

type Target = XYZWAB<T>

source§

impl<T> Deref for Translation<T, 1>
where T: Scalar,

§

type Target = X<T>

source§

impl<T> Deref for Translation<T, 2>
where T: Scalar,

§

type Target = XY<T>

source§

impl<T> Deref for Translation<T, 3>
where T: Scalar,

§

type Target = XYZ<T>

source§

impl<T> Deref for Translation<T, 4>
where T: Scalar,

§

type Target = XYZW<T>

source§

impl<T> Deref for Translation<T, 5>
where T: Scalar,

§

type Target = XYZWA<T>

source§

impl<T> Deref for Translation<T, 6>
where T: Scalar,

§

type Target = XYZWAB<T>

§

impl<T> Deref for BiLockGuard<'_, T>

§

type Target = T

§

impl<T> Deref for CachePadded<T>

§

type Target = T

§

impl<T> Deref for FmtBinary<T>
where T: Binary,

§

type Target = T

§

impl<T> Deref for FmtDisplay<T>
where T: Display,

§

type Target = T

§

impl<T> Deref for FmtList<T>
where &'a T: for<'a> IntoIterator,

§

type Target = T

§

impl<T> Deref for FmtLowerExp<T>
where T: LowerExp,

§

type Target = T

§

impl<T> Deref for FmtLowerHex<T>
where T: LowerHex,

§

type Target = T

§

impl<T> Deref for FmtOctal<T>
where T: Octal,

§

type Target = T

§

impl<T> Deref for FmtPointer<T>
where T: Pointer,

§

type Target = T

§

impl<T> Deref for FmtUpperExp<T>
where T: UpperExp,

§

type Target = T

§

impl<T> Deref for FmtUpperHex<T>
where T: UpperHex,

§

type Target = T

§

impl<T> Deref for Metadata<'_, T>
where T: SmartDisplay + ?Sized,

Permit using Metadata as a smart pointer to the user-provided metadata.

§

type Target = <T as SmartDisplay>::Metadata

§

impl<T> Deref for MutexGuard<'_, T>
where T: ?Sized,

§

type Target = T

§

impl<T> Deref for NonZero<T>
where T: Zero,

§

type Target = T

§

impl<T> Deref for Owned<T>
where T: Pointable + ?Sized,

§

type Target = T

§

impl<T> Deref for OwnedMutexGuard<T>
where T: ?Sized,

§

type Target = T

§

impl<T> Deref for ShardedLockReadGuard<'_, T>
where T: ?Sized,

§

type Target = T

§

impl<T> Deref for ShardedLockWriteGuard<'_, T>
where T: ?Sized,

§

type Target = T

§

impl<T> Deref for Unalign<T>
where T: Unaligned,

§

type Target = T

1.0.0 · source§

impl<T, A> Deref for alloc::boxed::Box<T, A>
where A: Allocator, T: ?Sized,

§

type Target = T

1.12.0 · source§

impl<T, A> Deref for PeekMut<'_, T, A>
where T: Ord, A: Allocator,

§

type Target = T

1.0.0 · source§

impl<T, A> Deref for Rc<T, A>
where A: Allocator, T: ?Sized,

§

type Target = T

source§

impl<T, A> Deref for UniqueRc<T, A>
where A: Allocator, T: ?Sized,

§

type Target = T

1.0.0 · source§

impl<T, A> Deref for Arc<T, A>
where A: Allocator, T: ?Sized,

§

type Target = T

1.0.0 · source§

impl<T, A> Deref for alloc::vec::Vec<T, A>
where A: Allocator,

§

type Target = [T]

§

impl<T, A> Deref for Box<T, A>
where A: Allocator, T: ?Sized,

§

type Target = T

§

impl<T, A> Deref for Vec<T, A>
where A: Allocator,

§

type Target = [T]

source§

impl<T, C> Deref for OwnedRef<T, C>
where T: Clear + Default, C: Config,

§

type Target = T

source§

impl<T, C> Deref for OwnedRefMut<T, C>
where T: Clear + Default, C: Config,

§

type Target = T

source§

impl<T, C> Deref for OwnedEntry<T, C>
where C: Config,

§

type Target = T

§

impl<T, D> Deref for TypeWithDefault<T, D>
where D: Get<T>,

§

type Target = T

1.80.0 · source§

impl<T, F> Deref for LazyCell<T, F>
where F: FnOnce() -> T,

§

type Target = T

1.80.0 · source§

impl<T, F> Deref for LazyLock<T, F>
where F: FnOnce() -> T,

§

type Target = T

§

impl<T, F> Deref for Lazy<T, F>
where F: Fn() -> T,

§

type Target = T

§

impl<T, F> Deref for Lazy<T, F>
where F: FnOnce() -> T,

§

type Target = T

§

impl<T, F> Deref for Lazy<T, F>
where F: FnOnce() -> T,

§

type Target = T

source§

impl<T, F, S> Deref for ScopeGuard<T, F, S>
where F: FnOnce(T), S: Strategy,

§

type Target = T

§

impl<T, I> Deref for ExtraMutator<T, I>
where T: Config<I>, I: 'static,

§

type Target = <T as Config<I>>::Extra

§

impl<T, N> Deref for GenericArray<T, N>
where N: ArrayLength<T>,

§

type Target = [T]

§

impl<T, O> Deref for BitBox<T, O>
where T: BitStore, O: BitOrder,

§

type Target = BitSlice<T, O>

§

impl<T, O> Deref for BitVec<T, O>
where T: BitStore, O: BitOrder,

§

type Target = BitSlice<T, O>

source§

impl<T, S> Deref for Matrix<T, Const<1>, Const<1>, S>
where T: Scalar, S: RawStorage<T, Const<1>> + IsContiguous,

§

type Target = X<T>

source§

impl<T, S> Deref for Matrix<T, Const<1>, Const<2>, S>
where T: Scalar, S: RawStorage<T, Const<1>, Const<2>> + IsContiguous,

§

type Target = XY<T>

source§

impl<T, S> Deref for Matrix<T, Const<1>, Const<3>, S>
where T: Scalar, S: RawStorage<T, Const<1>, Const<3>> + IsContiguous,

§

type Target = XYZ<T>

source§

impl<T, S> Deref for Matrix<T, Const<1>, Const<4>, S>
where T: Scalar, S: RawStorage<T, Const<1>, Const<4>> + IsContiguous,

§

type Target = XYZW<T>

source§

impl<T, S> Deref for Matrix<T, Const<1>, Const<5>, S>
where T: Scalar, S: RawStorage<T, Const<1>, Const<5>> + IsContiguous,

§

type Target = XYZWA<T>

source§

impl<T, S> Deref for Matrix<T, Const<1>, Const<6>, S>
where T: Scalar, S: RawStorage<T, Const<1>, Const<6>> + IsContiguous,

§

type Target = XYZWAB<T>

source§

impl<T, S> Deref for Matrix<T, Const<2>, Const<1>, S>
where T: Scalar, S: RawStorage<T, Const<2>> + IsContiguous,

§

type Target = XY<T>

source§

impl<T, S> Deref for Matrix<T, Const<2>, Const<2>, S>
where T: Scalar, S: RawStorage<T, Const<2>, Const<2>> + IsContiguous,

§

type Target = M2x2<T>

source§

impl<T, S> Deref for Matrix<T, Const<2>, Const<3>, S>
where T: Scalar, S: RawStorage<T, Const<2>, Const<3>> + IsContiguous,

§

type Target = M2x3<T>

source§

impl<T, S> Deref for Matrix<T, Const<2>, Const<4>, S>
where T: Scalar, S: RawStorage<T, Const<2>, Const<4>> + IsContiguous,

§

type Target = M2x4<T>

source§

impl<T, S> Deref for Matrix<T, Const<2>, Const<5>, S>
where T: Scalar, S: RawStorage<T, Const<2>, Const<5>> + IsContiguous,

§

type Target = M2x5<T>

source§

impl<T, S> Deref for Matrix<T, Const<2>, Const<6>, S>
where T: Scalar, S: RawStorage<T, Const<2>, Const<6>> + IsContiguous,

§

type Target = M2x6<T>

source§

impl<T, S> Deref for Matrix<T, Const<3>, Const<1>, S>
where T: Scalar, S: RawStorage<T, Const<3>> + IsContiguous,

§

type Target = XYZ<T>

source§

impl<T, S> Deref for Matrix<T, Const<3>, Const<2>, S>
where T: Scalar, S: RawStorage<T, Const<3>, Const<2>> + IsContiguous,

§

type Target = M3x2<T>

source§

impl<T, S> Deref for Matrix<T, Const<3>, Const<3>, S>
where T: Scalar, S: RawStorage<T, Const<3>, Const<3>> + IsContiguous,

§

type Target = M3x3<T>

source§

impl<T, S> Deref for Matrix<T, Const<3>, Const<4>, S>
where T: Scalar, S: RawStorage<T, Const<3>, Const<4>> + IsContiguous,

§

type Target = M3x4<T>

source§

impl<T, S> Deref for Matrix<T, Const<3>, Const<5>, S>
where T: Scalar, S: RawStorage<T, Const<3>, Const<5>> + IsContiguous,

§

type Target = M3x5<T>

source§

impl<T, S> Deref for Matrix<T, Const<3>, Const<6>, S>
where T: Scalar, S: RawStorage<T, Const<3>, Const<6>> + IsContiguous,

§

type Target = M3x6<T>

source§

impl<T, S> Deref for Matrix<T, Const<4>, Const<1>, S>
where T: Scalar, S: RawStorage<T, Const<4>> + IsContiguous,

§

type Target = XYZW<T>

source§

impl<T, S> Deref for Matrix<T, Const<4>, Const<2>, S>
where T: Scalar, S: RawStorage<T, Const<4>, Const<2>> + IsContiguous,

§

type Target = M4x2<T>

source§

impl<T, S> Deref for Matrix<T, Const<4>, Const<3>, S>
where T: Scalar, S: RawStorage<T, Const<4>, Const<3>> + IsContiguous,

§

type Target = M4x3<T>

source§

impl<T, S> Deref for Matrix<T, Const<4>, Const<4>, S>
where T: Scalar, S: RawStorage<T, Const<4>, Const<4>> + IsContiguous,

§

type Target = M4x4<T>

source§

impl<T, S> Deref for Matrix<T, Const<4>, Const<5>, S>
where T: Scalar, S: RawStorage<T, Const<4>, Const<5>> + IsContiguous,

§

type Target = M4x5<T>

source§

impl<T, S> Deref for Matrix<T, Const<4>, Const<6>, S>
where T: Scalar, S: RawStorage<T, Const<4>, Const<6>> + IsContiguous,

§

type Target = M4x6<T>

source§

impl<T, S> Deref for Matrix<T, Const<5>, Const<1>, S>
where T: Scalar, S: RawStorage<T, Const<5>> + IsContiguous,

§

type Target = XYZWA<T>

source§

impl<T, S> Deref for Matrix<T, Const<5>, Const<2>, S>
where T: Scalar, S: RawStorage<T, Const<5>, Const<2>> + IsContiguous,

§

type Target = M5x2<T>

source§

impl<T, S> Deref for Matrix<T, Const<5>, Const<3>, S>
where T: Scalar, S: RawStorage<T, Const<5>, Const<3>> + IsContiguous,

§

type Target = M5x3<T>

source§

impl<T, S> Deref for Matrix<T, Const<5>, Const<4>, S>
where T: Scalar, S: RawStorage<T, Const<5>, Const<4>> + IsContiguous,

§

type Target = M5x4<T>

source§

impl<T, S> Deref for Matrix<T, Const<5>, Const<5>, S>
where T: Scalar, S: RawStorage<T, Const<5>, Const<5>> + IsContiguous,

§

type Target = M5x5<T>

source§

impl<T, S> Deref for Matrix<T, Const<5>, Const<6>, S>
where T: Scalar, S: RawStorage<T, Const<5>, Const<6>> + IsContiguous,

§

type Target = M5x6<T>

source§

impl<T, S> Deref for Matrix<T, Const<6>, Const<1>, S>
where T: Scalar, S: RawStorage<T, Const<6>> + IsContiguous,

§

type Target = XYZWAB<T>

source§

impl<T, S> Deref for Matrix<T, Const<6>, Const<2>, S>
where T: Scalar, S: RawStorage<T, Const<6>, Const<2>> + IsContiguous,

§

type Target = M6x2<T>

source§

impl<T, S> Deref for Matrix<T, Const<6>, Const<3>, S>
where T: Scalar, S: RawStorage<T, Const<6>, Const<3>> + IsContiguous,

§

type Target = M6x3<T>

source§

impl<T, S> Deref for Matrix<T, Const<6>, Const<4>, S>
where T: Scalar, S: RawStorage<T, Const<6>, Const<4>> + IsContiguous,

§

type Target = M6x4<T>

source§

impl<T, S> Deref for Matrix<T, Const<6>, Const<5>, S>
where T: Scalar, S: RawStorage<T, Const<6>, Const<5>> + IsContiguous,

§

type Target = M6x5<T>

source§

impl<T, S> Deref for Matrix<T, Const<6>, Const<6>, S>
where T: Scalar, S: RawStorage<T, Const<6>, Const<6>> + IsContiguous,

§

type Target = M6x6<T>

§

impl<T, S> Deref for AHashSet<T, S>

§

type Target = HashSet<T, S>

§

impl<T, S> Deref for BoundedBTreeSet<T, S>
where T: Ord,

§

type Target = BTreeSet<T>

§

impl<T, S> Deref for BoundedVec<T, S>

§

type Target = Vec<T>

§

impl<T, S> Deref for WeakBoundedVec<T, S>

§

type Target = Vec<T>

§

impl<T, U> Deref for MappedMutexGuard<'_, T, U>
where T: ?Sized, U: ?Sized,

§

type Target = U

source§

impl<T, const CAP: usize> Deref for arrayvec::arrayvec::ArrayVec<T, CAP>

§

type Target = [T]

§

impl<Target> Deref for FilelikeView<'_, Target>
where Target: FilelikeViewType,

§

type Target = Target

§

impl<Target> Deref for SocketlikeView<'_, Target>
where Target: SocketlikeViewType,

§

type Target = Target

§

impl<W> Deref for DebugAbbrev<W>
where W: Writer,

§

type Target = W

§

impl<W> Deref for DebugFrame<W>
where W: Writer,

§

type Target = W

§

impl<W> Deref for DebugInfo<W>
where W: Writer,

§

type Target = W

§

impl<W> Deref for DebugLine<W>
where W: Writer,

§

type Target = W

§

impl<W> Deref for DebugLineStr<W>
where W: Writer,

§

type Target = W

§

impl<W> Deref for DebugLoc<W>
where W: Writer,

§

type Target = W

§

impl<W> Deref for DebugLocLists<W>
where W: Writer,

§

type Target = W

§

impl<W> Deref for DebugRanges<W>
where W: Writer,

§

type Target = W

§

impl<W> Deref for DebugRngLists<W>
where W: Writer,

§

type Target = W

§

impl<W> Deref for DebugStr<W>
where W: Writer,

§

type Target = W

§

impl<W> Deref for EhFrame<W>
where W: Writer,

§

type Target = W

§

impl<Z> Deref for Zeroizing<Z>
where Z: Zeroize,

§

type Target = Z

source§

impl<const CAP: usize> Deref for ArrayString<CAP>

§

type Target = str

§

impl<const N: usize, T> Deref for CryptoBytes<N, T>

§

type Target = [u8]

§

impl<const SIZE: usize> Deref for WriteBuffer<SIZE>

§

type Target = str