Trait Deref

1.6.0 (const: unstable) ยท 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 behavior 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 behavior.

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ยง

Sourceยง

impl Deref for CowStr

Sourceยง

impl Deref for DOC_URI

Sourceยง

impl Deref for FIELD_PROJECTION

Sourceยง

impl Deref for OF_TYPE

Sourceยง

impl Deref for SEQUENCE_EXPRESSION

Sourceยง

impl Deref for URI

Sourceยง

impl Deref for Login

Sourceยง

impl Deref for QueryResult

Sourceยง

type Target = QueryResults

Sourceยง

impl Deref for BuildArtifactTypeId

Sourceยง

impl Deref for BuildTargetId

Sourceยง

impl Deref for FLAMSExtensionId

Sourceยง

impl Deref for SourceFormatId

ยง

impl Deref for flams_router_vscode::Error

ยง

type Target = Arc<dyn Error + Send + Sync>

ยง

impl Deref for Nonce

ยง

impl Deref for OriginalUri

ยง

impl Deref for flams_router_vscode::server_fn::axum_export::extract::ws::Utf8Bytes

ยง

impl Deref for BytesMut

ยง

type Target = [u8]

ยง

impl Deref for BrowserRequest

ยง

impl Deref for flams_router_vscode::server_fn::Bytes

ยง

type Target = [u8]

Sourceยง

impl Deref for ByteStr

Sourceยง

impl Deref for libssh2_struct_stat

Sourceยง

type Target = stat

Sourceยง

impl Deref for ByteString

1.0.0 ยท Sourceยง

impl Deref for CString

1.0.0 ยท Sourceยง

impl Deref for String

1.0.0 ยท Sourceยง

impl Deref for OsString

1.0.0 ยท Sourceยง

impl Deref for PathBuf

Sourceยง

impl Deref for anyhow::Error

Sourceยง

impl Deref for Report

Sourceยง

impl Deref for Buf

Sourceยง

impl Deref for OidArray

Sourceยง

impl Deref for Collator

Sourceยง

impl Deref for DateTimeFormat

Sourceยง

impl Deref for NumberFormat

Sourceยง

impl Deref for PluralRules

Sourceยง

impl Deref for RelativeTimeFormat

Sourceยง

impl Deref for CompileError

Sourceยง

impl Deref for Exception

Sourceยง

impl Deref for Global

Sourceยง

impl Deref for Instance

Sourceยง

impl Deref for LinkError

Sourceยง

impl Deref for Memory

Sourceยง

impl Deref for Module

Sourceยง

impl Deref for RuntimeError

Sourceยง

impl Deref for Table

Sourceยง

impl Deref for Tag

Sourceยง

impl Deref for Array

Sourceยง

impl Deref for ArrayBuffer

Sourceยง

impl Deref for AsyncIterator

Sourceยง

impl Deref for BigInt64Array

Sourceยง

impl Deref for BigInt

Sourceยง

impl Deref for BigUint64Array

Sourceยง

impl Deref for Boolean

Sourceยง

impl Deref for DataView

Sourceยง

impl Deref for Date

Sourceยง

impl Deref for js_sys::Error

Sourceยง

impl Deref for EvalError

Sourceยง

impl Deref for Float32Array

Sourceยง

impl Deref for Float64Array

Sourceยง

impl Deref for Function

Sourceยง

impl Deref for Generator

Sourceยง

impl Deref for Int8Array

Sourceยง

impl Deref for Int16Array

Sourceยง

impl Deref for Int32Array

Sourceยง

impl Deref for Iterator

Sourceยง

impl Deref for IteratorNext

Sourceยง

impl Deref for JsString

Sourceยง

impl Deref for Map

Sourceยง

impl Deref for Number

Sourceยง

impl Deref for Object

Sourceยง

impl Deref for Promise

Sourceยง

impl Deref for Proxy

Sourceยง

impl Deref for RangeError

Sourceยง

impl Deref for ReferenceError

Sourceยง

impl Deref for RegExp

Sourceยง

impl Deref for Set

Sourceยง

impl Deref for SharedArrayBuffer

Sourceยง

impl Deref for Symbol

Sourceยง

impl Deref for SyntaxError

Sourceยง

impl Deref for TypeError

Sourceยง

impl Deref for Uint8Array

Sourceยง

impl Deref for Uint8ClampedArray

Sourceยง

impl Deref for Uint16Array

Sourceยง

impl Deref for Uint32Array

Sourceยง

impl Deref for UriError

Sourceยง

impl Deref for WeakMap

Sourceยง

impl Deref for WeakSet

Sourceยง

impl Deref for Asn1BitString

Sourceยง

impl Deref for Asn1Enumerated

Sourceยง

impl Deref for Asn1GeneralizedTime

Sourceยง

impl Deref for Asn1Integer

Sourceยง

impl Deref for Asn1Object

Sourceยง

impl Deref for Asn1OctetString

Sourceยง

impl Deref for Asn1String

Sourceยง

impl Deref for Asn1Time

Sourceยง

impl Deref for BigNum

Sourceยง

impl Deref for BigNumContext

Sourceยง

impl Deref for Cipher

Sourceยง

impl Deref for CipherCtx

Sourceยง

impl Deref for CmsContentInfo

Sourceยง

impl Deref for Conf

Sourceยง

impl Deref for DsaSig

Sourceยง

impl Deref for EcGroup

Sourceยง

impl Deref for EcPoint

Sourceยง

impl Deref for EcdsaSig

Sourceยง

impl Deref for DigestBytes

Sourceยง

impl Deref for LibCtx

Sourceยง

impl Deref for Md

Sourceยง

impl Deref for MdCtx

Sourceยง

impl Deref for OcspBasicResponse

Sourceยง

impl Deref for OcspCertId

Sourceยง

impl Deref for OcspOneReq

Sourceยง

impl Deref for OcspRequest

Sourceยง

impl Deref for OcspResponse

Sourceยง

impl Deref for Pkcs7

Sourceยง

impl Deref for Pkcs7Signed

Sourceยง

impl Deref for Pkcs7SignerInfo

Sourceยง

impl Deref for Pkcs12

Sourceยง

impl Deref for Provider

Sourceยง

impl Deref for SrtpProtectionProfile

Sourceยง

impl Deref for ConnectConfiguration

Sourceยง

impl Deref for SslAcceptorBuilder

Sourceยง

impl Deref for SslConnectorBuilder

Sourceยง

impl Deref for Ssl

Sourceยง

impl Deref for SslCipher

Sourceยง

impl Deref for SslContext

Sourceยง

impl Deref for SslSession

Sourceยง

impl Deref for OpensslString

Sourceยง

impl Deref for OpensslStringRef

Sourceยง

impl Deref for X509Store

Sourceยง

impl Deref for X509StoreBuilder

Sourceยง

impl Deref for AccessDescription

Sourceยง

impl Deref for DistPoint

Sourceยง

impl Deref for DistPointName

Sourceยง

impl Deref for GeneralName

Sourceยง

impl Deref for X509

Sourceยง

impl Deref for X509Algorithm

Sourceยง

impl Deref for X509Crl

Sourceยง

impl Deref for X509Extension

Sourceยง

impl Deref for X509Name

Sourceยง

impl Deref for X509NameEntry

Sourceยง

impl Deref for X509Object

Sourceยง

impl Deref for X509Req

Sourceยง

impl Deref for X509Revoked

Sourceยง

impl Deref for X509StoreContext

Sourceยง

impl Deref for X509VerifyParam

Sourceยง

impl Deref for And

Sourceยง

impl Deref for At

Sourceยง

impl Deref for Caret

Sourceยง

impl Deref for Colon

Sourceยง

impl Deref for Comma

Sourceยง

impl Deref for Dollar

Sourceยง

impl Deref for Dot

Sourceยง

impl Deref for Eq

Sourceยง

impl Deref for Gt

Sourceยง

impl Deref for Lt

Sourceยง

impl Deref for Minus

Sourceยง

impl Deref for Not

Sourceยง

impl Deref for Or

Sourceยง

impl Deref for Percent

Sourceยง

impl Deref for Plus

Sourceยง

impl Deref for Pound

Sourceยง

impl Deref for Question

Sourceยง

impl Deref for Semi

Sourceยง

impl Deref for Slash

Sourceยง

impl Deref for Star

Sourceยง

impl Deref for Tilde

Sourceยง

impl Deref for Underscore

Sourceยง

impl Deref for TempPath

Sourceยง

impl Deref for AbortController

Sourceยง

impl Deref for AbortSignal

Sourceยง

impl Deref for AddEventListenerOptions

Sourceยง

impl Deref for AnimationEvent

Sourceยง

impl Deref for BeforeUnloadEvent

Sourceยง

impl Deref for Blob

Sourceยง

impl Deref for CharacterData

Sourceยง

impl Deref for ClipboardEvent

Sourceยง

impl Deref for CloseEvent

Sourceยง

impl Deref for CloseEventInit

Sourceยง

impl Deref for Comment

Sourceยง

impl Deref for CompositionEvent

Sourceยง

impl Deref for CssStyleDeclaration

Sourceยง

impl Deref for CustomEvent

Sourceยง

impl Deref for DataTransfer

Sourceยง

impl Deref for DeviceMotionEvent

Sourceยง

impl Deref for DeviceOrientationEvent

Sourceยง

impl Deref for Document

Sourceยง

impl Deref for DocumentFragment

Sourceยง

impl Deref for DomRect

Sourceยง

impl Deref for DomRectReadOnly

Sourceยง

impl Deref for DomStringMap

Sourceยง

impl Deref for DomTokenList

Sourceยง

impl Deref for DragEvent

Sourceยง

impl Deref for web_sys::features::gen_Element::Element

Sourceยง

impl Deref for ErrorEvent

Sourceยง

impl Deref for web_sys::features::gen_Event::Event

Sourceยง

impl Deref for EventSource

Sourceยง

impl Deref for EventTarget

Sourceยง

impl Deref for File

Sourceยง

impl Deref for FileList

Sourceยง

impl Deref for FileReader

Sourceยง

impl Deref for FocusEvent

Sourceยง

impl Deref for FormData

Sourceยง

impl Deref for GamepadEvent

Sourceยง

impl Deref for HashChangeEvent

Sourceยง

impl Deref for Headers

Sourceยง

impl Deref for History

Sourceยง

impl Deref for HtmlAnchorElement

Sourceยง

impl Deref for HtmlAreaElement

Sourceยง

impl Deref for HtmlAudioElement

Sourceยง

impl Deref for HtmlBaseElement

Sourceยง

impl Deref for HtmlBodyElement

Sourceยง

impl Deref for HtmlBrElement

Sourceยง

impl Deref for HtmlButtonElement

Sourceยง

impl Deref for HtmlCanvasElement

Sourceยง

impl Deref for HtmlCollection

Sourceยง

impl Deref for HtmlDListElement

Sourceยง

impl Deref for HtmlDataElement

Sourceยง

impl Deref for HtmlDataListElement

Sourceยง

impl Deref for HtmlDetailsElement

Sourceยง

impl Deref for HtmlDialogElement

Sourceยง

impl Deref for HtmlDivElement

Sourceยง

impl Deref for web_sys::features::gen_HtmlElement::HtmlElement

Sourceยง

impl Deref for HtmlEmbedElement

Sourceยง

impl Deref for HtmlFieldSetElement

Sourceยง

impl Deref for HtmlFormElement

Sourceยง

impl Deref for HtmlHeadElement

Sourceยง

impl Deref for HtmlHeadingElement

Sourceยง

impl Deref for HtmlHrElement

Sourceยง

impl Deref for HtmlHtmlElement

Sourceยง

impl Deref for HtmlIFrameElement

Sourceยง

impl Deref for HtmlImageElement

Sourceยง

impl Deref for HtmlInputElement

Sourceยง

impl Deref for HtmlLabelElement

Sourceยง

impl Deref for HtmlLegendElement

Sourceยง

impl Deref for HtmlLiElement

Sourceยง

impl Deref for HtmlLinkElement

Sourceยง

impl Deref for HtmlMapElement

Sourceยง

impl Deref for HtmlMediaElement

Sourceยง

impl Deref for HtmlMenuElement

Sourceยง

impl Deref for HtmlMetaElement

Sourceยง

impl Deref for HtmlMeterElement

Sourceยง

impl Deref for HtmlModElement

Sourceยง

impl Deref for HtmlOListElement

Sourceยง

impl Deref for HtmlObjectElement

Sourceยง

impl Deref for HtmlOptGroupElement

Sourceยง

impl Deref for HtmlOptionElement

Sourceยง

impl Deref for HtmlOutputElement

Sourceยง

impl Deref for HtmlParagraphElement

Sourceยง

impl Deref for HtmlParamElement

Sourceยง

impl Deref for HtmlPictureElement

Sourceยง

impl Deref for HtmlPreElement

Sourceยง

impl Deref for HtmlProgressElement

Sourceยง

impl Deref for HtmlQuoteElement

Sourceยง

impl Deref for HtmlScriptElement

Sourceยง

impl Deref for HtmlSelectElement

Sourceยง

impl Deref for HtmlSlotElement

Sourceยง

impl Deref for HtmlSourceElement

Sourceยง

impl Deref for HtmlSpanElement

Sourceยง

impl Deref for HtmlStyleElement

Sourceยง

impl Deref for HtmlTableCaptionElement

Sourceยง

impl Deref for HtmlTableCellElement

Sourceยง

impl Deref for HtmlTableColElement

Sourceยง

impl Deref for HtmlTableElement

Sourceยง

impl Deref for HtmlTableRowElement

Sourceยง

impl Deref for HtmlTableSectionElement

Sourceยง

impl Deref for HtmlTemplateElement

Sourceยง

impl Deref for HtmlTextAreaElement

Sourceยง

impl Deref for HtmlTimeElement

Sourceยง

impl Deref for HtmlTitleElement

Sourceยง

impl Deref for HtmlTrackElement

Sourceยง

impl Deref for HtmlUListElement

Sourceยง

impl Deref for HtmlVideoElement

Sourceยง

impl Deref for InputEvent

Sourceยง

impl Deref for KeyboardEvent

Sourceยง

impl Deref for Location

Sourceยง

impl Deref for MessageEvent

Sourceยง

impl Deref for MouseEvent

Sourceยง

impl Deref for MutationObserver

Sourceยง

impl Deref for MutationObserverInit

Sourceยง

impl Deref for MutationRecord

Sourceยง

impl Deref for Node

Sourceยง

impl Deref for NodeFilter

Sourceยง

impl Deref for NodeList

Sourceยง

impl Deref for ObserverCallback

Sourceยง

impl Deref for PageTransitionEvent

Sourceยง

impl Deref for PointerEvent

Sourceยง

impl Deref for PopStateEvent

Sourceยง

impl Deref for ProgressEvent

Sourceยง

impl Deref for PromiseRejectionEvent

Sourceยง

impl Deref for QueuingStrategy

Sourceยง

impl Deref for ReadableByteStreamController

Sourceยง

impl Deref for ReadableStream

Sourceยง

impl Deref for ReadableStreamByobReader

Sourceยง

impl Deref for ReadableStreamByobRequest

Sourceยง

impl Deref for ReadableStreamDefaultController

Sourceยง

impl Deref for ReadableStreamDefaultReader

Sourceยง

impl Deref for ReadableStreamGetReaderOptions

Sourceยง

impl Deref for ReadableStreamReadResult

Sourceยง

impl Deref for ReadableWritablePair

Sourceยง

impl Deref for Request

Sourceยง

impl Deref for RequestInit

Sourceยง

impl Deref for Response

Sourceยง

impl Deref for ResponseInit

Sourceยง

impl Deref for ScrollIntoViewOptions

Sourceยง

impl Deref for ScrollToOptions

Sourceยง

impl Deref for SecurityPolicyViolationEvent

Sourceยง

impl Deref for ShadowRoot

Sourceยง

impl Deref for ShadowRootInit

Sourceยง

impl Deref for Storage

Sourceยง

impl Deref for StorageEvent

Sourceยง

impl Deref for StreamPipeOptions

Sourceยง

impl Deref for SubmitEvent

Sourceยง

impl Deref for SvgElement

Sourceยง

impl Deref for web_sys::features::gen_Text::Text

Sourceยง

impl Deref for TouchEvent

Sourceยง

impl Deref for TransformStream

Sourceยง

impl Deref for TransformStreamDefaultController

Sourceยง

impl Deref for Transformer

Sourceยง

impl Deref for TransitionEvent

Sourceยง

impl Deref for TreeWalker

Sourceยง

impl Deref for UiEvent

Sourceยง

impl Deref for UnderlyingSink

Sourceยง

impl Deref for UnderlyingSource

Sourceยง

impl Deref for Url

Sourceยง

impl Deref for UrlSearchParams

Sourceยง

impl Deref for WebSocket

Sourceยง

impl Deref for WheelEvent

Sourceยง

impl Deref for Window

Sourceยง

impl Deref for WritableStream

Sourceยง

impl Deref for WritableStreamDefaultController

Sourceยง

impl Deref for WritableStreamDefaultWriter

ยง

impl Deref for AlgorithmIdentifier

ยง

type Target = [u8]

ยง

impl Deref for AlignedVec

ยง

type Target = [u8]

ยง

impl Deref for ArcCallback

ยง

type Target = Arc<dyn Fn() + Send + Sync>

ยง

impl Deref for ArchivedCString

ยง

impl Deref for ArchivedString

ยง

impl Deref for Attributes

ยง

type Target = [Attribute]

ยง

impl Deref for AuthUrl

ยง

impl Deref for BStr

ยง

type Target = [u8]

ยง

impl Deref for BStr

ยง

type Target = [u8]

ยง

impl Deref for BorrowedPayload<'_>

ยง

type Target = [u8]

ยง

impl Deref for BoxCallback

ยง

type Target = Box<dyn Fn() + Send + Sync>

ยง

impl Deref for Bytes

ยง

type Target = [u8]

ยง

impl Deref for Bytes

ยง

type Target = [u8]

ยง

impl Deref for CalendarChildrenFn

ยง

impl Deref for CertificateDer<'_>

ยง

type Target = [u8]

ยง

impl Deref for CertificateRevocationListDer<'_>

ยง

type Target = [u8]

ยง

impl Deref for CertificateSigningRequestDer<'_>

ยง

type Target = [u8]

ยง

impl Deref for CheckboxGroupRule

ยง

type Target = Rule<HashSet<String>, CheckboxGroupRuleTrigger>

ยง

impl Deref for ClientConnection

ยง

type Target = ConnectionCommon<ClientConnectionData>

ยง

impl Deref for ClientConnection

ยง

type Target = ConnectionCommon<ClientConnectionData>

ยง

impl Deref for ClientId

ยง

impl Deref for ComboboxRule

ยง

type Target = Rule<Vec<String>, ComboboxRuleTrigger>

ยง

impl Deref for Connection

ยง

type Target = CommonState

ยง

impl Deref for Connection

ยง

type Target = CommonState

ยง

impl Deref for CurrencyType

ยง

type Target = TinyAsciiStr<3>

ยง

impl Deref for DataMarkerAttributes

ยง

impl Deref for DatePickerRule

ยง

type Target = Rule<Option<NaiveDate>, DatePickerRuleTrigger>

ยง

impl Deref for Der<'_>

ยง

type Target = [u8]

ยง

impl Deref for DeviceAuthorizationUrl

ยง

impl Deref for EchConfigListBytes<'_>

ยง

type Target = [u8]

ยง

impl Deref for Element

ยง

impl Deref for EndUserVerificationUrl

ยง

impl Deref for EnteredSpan

ยง

type Target = Span

ยง

impl Deref for HtmlElement

ยง

impl Deref for InputRule

ยง

type Target = Rule<String, InputRuleTrigger>

ยง

impl Deref for IntrospectionUrl

ยง

impl Deref for Mmap

ยง

type Target = [u8]

ยง

impl Deref for MmapMut

ยง

type Target = [u8]

ยง

impl Deref for NumberingSystem

ยง

type Target = Subtag

ยง

impl Deref for OwnedBytes

ยง

type Target = [u8]

ยง

impl Deref for PkceCodeChallengeMethod

ยง

impl Deref for PotentialUtf8

ยง

type Target = [u8]

ยง

impl Deref for Private

ยง

type Target = [Subtag]

ยง

impl Deref for RadioGroupRule

ยง

type Target = Rule<Option<String>, RadioGroupRuleTrigger>

ยง

impl Deref for RatingRule

ยง

type Target = Rule<Option<f32>, RatingRuleTrigger>

ยง

impl Deref for RedirectUrl

ยง

impl Deref for RegenerationFn

ยง

type Target = dyn Fn(&ParamsMap) -> Pin<Box<dyn Stream<Item = ()> + Send>> + Send + Sync

ยง

impl Deref for RegionOverride

ยง

type Target = SubdivisionId

ยง

impl Deref for RegionalSubdivision

ยง

type Target = SubdivisionId

ยง

impl Deref for ResourceOwnerUsername

ยง

impl Deref for ResponseType

ยง

impl Deref for RevocationUrl

ยง

impl Deref for Scope

ยง

impl Deref for SelectRule

ยง

type Target = Rule<String, SelectRuleTrigger>

ยง

impl Deref for ServerConnection

ยง

type Target = ConnectionCommon<ServerConnectionData>

ยง

impl Deref for ServerConnection

ยง

type Target = ConnectionCommon<ServerConnectionData>

ยง

impl Deref for SliderRule

ยง

type Target = Rule<f64, SliderRuleTrigger>

ยง

impl Deref for SqliteOwnedBuf

ยง

type Target = [u8]

ยง

impl Deref for StrColumn

ยง

type Target = BytesColumn

ยง

impl Deref for SubjectPublicKeyInfoDer<'_>

ยง

type Target = [u8]

ยง

impl Deref for SwitchRule

ยง

type Target = Rule<bool, SwitchRuleTrigger>

ยง

impl Deref for TextareaRule

ยง

type Target = Rule<String, TextareaRuleTrigger>

ยง

impl Deref for TimePickerRule

ยง

type Target = Rule<Option<NaiveTime>, TimePickerRuleTrigger>

ยง

impl Deref for TimeZoneShortId

ยง

type Target = Subtag

ยง

impl Deref for Tls12ClientSessionValue

ยง

type Target = ClientSessionCommon

ยง

impl Deref for Tls13ClientSessionValue

ยง

type Target = ClientSessionCommon

ยง

impl Deref for TokenUrl

ยง

impl Deref for UStr

ยง

impl Deref for UnbufferedClientConnection

ยง

type Target = UnbufferedConnectionCommon<ClientConnectionData>

ยง

impl Deref for UnbufferedServerConnection

ยง

type Target = UnbufferedConnectionCommon<ServerConnectionData>

ยง

impl Deref for UriTemplateString

ยง

type Target = UriTemplateStr

ยง

impl Deref for Utf8Bytes

ยง

impl Deref for Utf8PathBuf

ยง

type Target = Utf8Path

ยง

impl Deref for Variants

ยง

type Target = [Variant]

ยง

impl Deref for WakerRef<'_>

1.36.0 ยท Sourceยง

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

1.36.0 ยท Sourceยง

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

ยง

impl<'a> Deref for BoxTokenStream<'a>

ยง

type Target = dyn TokenStream + 'a

ยง

impl<'a> Deref for BytesCData<'a>

ยง

type Target = [u8]

ยง

impl<'a> Deref for BytesDecl<'a>

ยง

type Target = [u8]

ยง

impl<'a> Deref for BytesEnd<'a>

ยง

type Target = [u8]

ยง

impl<'a> Deref for BytesPI<'a>

ยง

type Target = [u8]

ยง

impl<'a> Deref for BytesStart<'a>

ยง

type Target = [u8]

ยง

impl<'a> Deref for BytesText<'a>

ยง

type Target = [u8]

ยง

impl<'a> Deref for CSSString<'a>

ยง

impl<'a> Deref for CowArcStr<'a>

ยง

impl<'a> Deref for CowRcStr<'a>

ยง

impl<'a> Deref for CustomIdent<'a>

ยง

impl<'a> Deref for DashedIdent<'a>

ยง

impl<'a> Deref for EndEntityCert<'a>

ยง

type Target = Cert<'a>

ยง

impl<'a> Deref for Event<'a>

ยง

type Target = [u8]

ยง

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

ยง

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

ยง

impl<'a> Deref for MaybeUninitSlice<'a>

Sourceยง

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

ยง

impl<'a, K> Deref for Ref<'a, K>
where K: Eq + Hash,

ยง

type Target = K

ยง

impl<'a, K> Deref for RefMulti<'a, K>
where K: Eq + Hash,

ยง

type Target = K

ยง

impl<'a, K, S> Deref for Ref<'a, K, S>
where K: Eq + Hash, S: BuildHasher,

ยง

type Target = K

ยง

impl<'a, K, S> Deref for RefMulti<'a, K, S>
where K: Eq + Hash, S: BuildHasher,

ยง

type Target = K

ยง

impl<'a, K, V> Deref for Ref<'a, K, V>
where K: Eq + Hash,

ยง

type Target = V

ยง

impl<'a, K, V> Deref for RefMulti<'a, K, V>
where K: Eq + Hash,

ยง

type Target = V

ยง

impl<'a, K, V> Deref for RefMut<'a, K, V>
where K: Eq + Hash,

ยง

type Target = V

ยง

impl<'a, K, V> Deref for RefMutMulti<'a, K, V>
where K: Eq + Hash,

ยง

type Target = V

ยง

impl<'a, K, V, S> Deref for Ref<'a, K, V, S>
where K: Eq + Hash, S: BuildHasher,

ยง

type Target = V

ยง

impl<'a, K, V, S> Deref for RefMulti<'a, K, V, S>
where K: Eq + Hash, S: BuildHasher,

ยง

type Target = V

ยง

impl<'a, K, V, S> Deref for RefMut<'a, K, V, S>
where K: Eq + Hash, S: BuildHasher,

ยง

type Target = V

ยง

impl<'a, K, V, S> Deref for RefMutMulti<'a, K, V, S>
where K: Eq + Hash, S: BuildHasher,

ยง

type Target = V

ยง

impl<'a, K, V, T> Deref for MappedRef<'a, K, V, T>
where K: Eq + Hash,

ยง

type Target = T

ยง

impl<'a, K, V, T> Deref for MappedRefMut<'a, K, V, T>
where K: Eq + Hash,

ยง

type Target = T

ยง

impl<'a, K, V, T, S> Deref for MappedRef<'a, K, V, T, S>
where K: Eq + Hash, S: BuildHasher,

ยง

type Target = T

ยง

impl<'a, K, V, T, S> Deref for MappedRefMut<'a, K, V, T, S>
where K: Eq + Hash, S: BuildHasher,

ยง

type Target = T

ยง

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

Sourceยง

impl<'a, T> Deref for alloc::vec::peek_mut::PeekMut<'a, T>

ยง

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

ยง

type Target = T

ยง

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

ยง

type Target = T

ยง

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

ยง

type Target = T

ยง

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

ยง

type Target = T

ยง

impl<'a, T> Deref for SpinMutexGuard<'a, T>
where T: ?Sized,

ยง

type Target = T

ยง

impl<'a, T> Deref for ZeroVec<'a, T>
where T: AsULE,

ยง

type Target = ZeroSlice<T>

Sourceยง

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

Sourceยง

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

Sourceยง

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

ยง

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

ยง

type Target = T

Sourceยง

impl<'a, T, U> Deref for FromColorMutGuard<'a, T, U>
where T: FromColorMut<U> + ?Sized, U: FromColorMut<T> + ?Sized,

Sourceยง

impl<'a, T, U> Deref for FromColorUnclampedMutGuard<'a, T, U>

ยง

impl<'a, V> Deref for VarZeroCow<'a, V>
where V: VarULE + ?Sized,

ยง

type Target = V

Sourceยง

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

ยง

impl<'c, DB> Deref for MaybePoolConnection<'c, DB>
where DB: Database,

ยง

type Target = <DB as Database>::Connection

ยง

impl<'c, DB> Deref for Transaction<'c, DB>
where DB: Database,

ยง

type Target = <DB as Database>::Connection

ยง

impl<'i> Deref for DeArray<'i>

ยง

type Target = [Spanned<DeValue<'i>>]

ยง

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

ยง

type Target = T

ยง

impl<'rwlock, T, R> Deref for RwLockUpgradableGuard<'rwlock, T, R>
where T: ?Sized,

ยง

type Target = T

ยง

impl<'rwlock, T, R> Deref for RwLockWriteGuard<'rwlock, T, R>
where T: ?Sized,

ยง

type Target = T

ยง

impl<'s> Deref for SockRef<'s>

ยง

type Target = Socket

ยง

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

ยง

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

ยง

impl<A, B> Deref for ArcTwoCallback<A, B>

ยง

type Target = Arc<dyn Fn(A, B) + Send + Sync>

ยง

impl<A, Return> Deref for ArcOneCallback<A, Return>

ยง

type Target = Arc<dyn Fn(A) -> Return + Send + Sync>

ยง

impl<A, Return> Deref for BoxOneCallback<A, Return>

ยง

type Target = Box<dyn Fn(A) -> Return + Send + Sync>

ยง

impl<At, Ch> Deref for ElementState<At, Ch>

1.0.0 ยท Sourceยง

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

ยง

impl<B, T> Deref for Ref<B, T>
where B: ByteSlice, T: FromBytes + KnownLayout + Immutable + ?Sized,

ยง

type Target = T

ยง

impl<C0, C1, T> Deref for EitherCart<C0, C1>
where C0: Deref<Target = T>, C1: Deref<Target = T>, T: ?Sized,

ยง

type Target = T

Sourceยง

impl<C> Deref for PreAlpha<C>
where C: Premultiply,

Sourceยง

impl<C, T> Deref for Alpha<C, T>

ยง

impl<DB> Deref for PoolConnection<DB>
where DB: Database,

ยง

type Target = <DB as Database>::Connection

ยง

impl<Data> Deref for ConnectionCommon<Data>

ยง

type Target = CommonState

ยง

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

ยง

impl<E, T> Deref for Targeted<E, T>

ยง

type Target = E

ยง

impl<F> Deref for DebugFn<F>
where F: ?Sized,

ยง

type Target = F

ยง

impl<F, A> Deref for Tendril<F, A>
where F: SliceFormat, A: Atomicity,

ยง

type Target = <F as SliceFormat>::Slice

ยง

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

ยง

type Target = HeaderSlice<HeaderWithLength<H>, [T]>

ยง

impl<I> Deref for LocatingSlice<I>

ยง

type Target = I

ยง

impl<I> Deref for LocatingSlice<I>

ยง

type Target = I

ยง

impl<I> Deref for Partial<I>

ยง

type Target = I

ยง

impl<I> Deref for Partial<I>

ยง

type Target = I

ยง

impl<I, S> Deref for Stateful<I, S>

ยง

type Target = I

ยง

impl<I, S> Deref for Stateful<I, S>

ยง

type Target = I

ยง

impl<Inner, Prev, K, T, Guard> Deref for KeyedSubfieldWriteGuard<Inner, Prev, K, T, Guard>
where Guard: Deref, KeyedSubfield<Inner, Prev, K, T>: Clone, &'a T: for<'a> IntoIterator, Inner: StoreField<Value = Prev>, Prev: 'static, K: Debug + Send + Sync + PartialEq + Eq + Hash + 'static,

ยง

type Target = <Guard as Deref>::Target

ยง

impl<Inner, U> Deref for Mapped<Inner, U>
where Inner: Deref,

ยง

type Target = U

ยง

impl<Inner, U> Deref for MappedArc<Inner, U>
where Inner: Deref,

ยง

type Target = U

ยง

impl<Inner, U> Deref for MappedMut<Inner, U>
where Inner: Deref,

ยง

type Target = U

ยง

impl<Inner, U> Deref for MappedMutArc<Inner, U>
where Inner: Deref,

ยง

type Target = U

ยง

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

ยง

type Target = HashMap<K, V, S>

Sourceยง

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

ยง

impl<MutexType, T> Deref for GenericMutexGuard<'_, MutexType, T>
where MutexType: RawMutex,

ยง

type Target = T

1.33.0 ยท Sourceยง

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

ยง

impl<R> Deref for NsReader<R>

ยง

type Target = Reader<R>

ยง

impl<S> Deref for ArcServerAction<S>
where S: ServerFn + 'static, <S as ServerFn>::Output: 'static,

ยง

impl<S> Deref for ArcServerMultiAction<S>
where S: ServerFn + 'static, <S as ServerFn>::Output: 'static,

ยง

impl<S> Deref for ServerAction<S>
where S: ServerFn + Clone + Send + Sync + 'static, <S as ServerFn>::Output: Send + Sync + 'static, <S as ServerFn>::Error: Send + Sync + 'static,

ยง

type Target = Action<S, Result<<S as ServerFn>::Output, <S as ServerFn>::Error>>

ยง

impl<S> Deref for ServerMultiAction<S>
where S: ServerFn + 'static, <S as ServerFn>::Output: 'static, <S as ServerFn>::Error: 'static,

ยง

impl<S> Deref for State<S>

ยง

type Target = S

ยง

impl<S> Deref for Ascii<S>

ยง

type Target = S

ยง

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

ยง

type Target = S

ยง

impl<S> Deref for RiAbsoluteString<S>
where S: Spec,

ยง

type Target = RiAbsoluteStr<S>

ยง

impl<S> Deref for RiFragmentString<S>
where S: Spec,

ยง

type Target = RiFragmentStr<S>

ยง

impl<S> Deref for RiQueryString<S>
where S: Spec,

ยง

type Target = RiQueryStr<S>

ยง

impl<S> Deref for RiReferenceString<S>
where S: Spec,

ยง

type Target = RiReferenceStr<S>

ยง

impl<S> Deref for RiRelativeString<S>
where S: Spec,

ยง

type Target = RiRelativeStr<S>

ยง

impl<S> Deref for RiString<S>
where S: Spec,

ยง

type Target = RiStr<S>

ยง

impl<S> Deref for UniCase<S>

ยง

type Target = S

ยง

impl<S, G> Deref for WriteGuard<S, G>
where S: Notify, G: Deref,

ยง

type Target = <G as Deref>::Target

ยง

impl<Static> Deref for Atom<Static>
where Static: StaticAtomSet,

ยง

impl<T> Deref for Oco<'_, T>
where T: ToOwned + ?Sized,

ยง

type Target = T

1.0.0 (const: unstable) ยท Sourceยง

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

1.0.0 (const: unstable) ยท Sourceยง

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

ยง

impl<T> Deref for AsyncPlain<T>

ยง

type Target = T

ยง

impl<T> Deref for Derefable<T>

ยง

type Target = T

ยง

impl<T> Deref for Plain<T>

ยง

type Target = T

ยง

impl<T> Deref for UntrackedWriteGuard<T>

ยง

type Target = T

ยง

impl<T> Deref for ArcLocalResource<T>

ยง

impl<T> Deref for DoubleDeref<T>
where T: Deref, <T as Deref>::Target: Deref,

ยง

type Target = <<T as Deref>::Target as Deref>::Target

ยง

impl<T> Deref for LocalResource<T>

ยง

impl<T> Deref for ConnectInfo<T>

ยง

type Target = T

ยง

impl<T> Deref for Path<T>

ยง

type Target = T

ยง

impl<T> Deref for Query<T>

ยง

type Target = T

ยง

impl<T> Deref for Extension<T>

ยง

type Target = T

ยง

impl<T> Deref for Form<T>

ยง

type Target = T

ยง

impl<T> Deref for flams_router_vscode::server_fn::axum_export::Json<T>

ยง

type Target = T

1.0.0 (const: unstable) ยท Sourceยง

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

1.0.0 (const: unstable) ยท Sourceยง

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

1.20.0 ยท Sourceยง

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

1.9.0 ยท Sourceยง

impl<T> Deref for AssertUnwindSafe<T>

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

1.0.0 ยท Sourceยง

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

Sourceยง

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

Sourceยง

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

1.0.0 ยท Sourceยง

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

1.0.0 ยท Sourceยง

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

Sourceยง

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

Sourceยง

impl<T> Deref for Dh<T>

Sourceยง

impl<T> Deref for Dsa<T>

Sourceยง

impl<T> Deref for EcKey<T>

Sourceยง

impl<T> Deref for PKey<T>

Sourceยง

impl<T> Deref for PkeyCtx<T>

Sourceยง

impl<T> Deref for Rsa<T>

Sourceยง

impl<T> Deref for Stack<T>
where T: Stackable,

Sourceยง

impl<T> Deref for X509Lookup<T>

Sourceยง

impl<T> Deref for X509LookupMethod<T>

Sourceยง

impl<T> Deref for Clamped<T>

Sourceยง

impl<T> Deref for JsStatic<T>
where T: FromWasmAbi + 'static,

ยง

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

ยง

type Target = T

ยง

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

ยง

type Target = T

ยง

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

ยง

type Target = T

ยง

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

ยง

type Target = T

ยง

impl<T> Deref for ArchivedBox<T>
where T: ArchivePointee + ?Sized,

ยง

type Target = T

ยง

impl<T> Deref for ArchivedVec<T>

ยง

impl<T> Deref for CachePadded<T>

ยง

type Target = T

ยง

impl<T> Deref for CommaSeparatedList<T>

ยง

type Target = Vec<T>

ยง

impl<T> Deref for ConnectionCommon<T>

ยง

type Target = CommonState

ยง

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

ยง

type Target = T

ยง

impl<T> Deref for Iri<T>
where T: Deref<Target = str>,

ยง

impl<T> Deref for IriRef<T>
where T: Deref<Target = str>,

ยง

impl<T> Deref for Json<T>

ยง

type Target = T

ยง

impl<T> Deref for LanguageTag<T>
where T: Deref<Target = str>,

ยง

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 MutexGuard<'_, T>
where T: ?Sized,

ยง

type Target = T

ยง

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

ยง

type Target = T

ยง

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

ยง

type Target = T

ยง

impl<T> Deref for OffsetArc<T>

ยง

type Target = T

ยง

impl<T> Deref for OptionalProp<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 OwnedMutexGuard<T>
where T: ?Sized,

ยง

type Target = T

ยง

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

ยง

type Target = T

ยง

impl<T> Deref for RawArchivedVec<T>

ยง

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

ยง

type Target = T

ยง

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

ยง

type Target = T

ยง

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

ยง

type Target = T

ยง

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

ยง

type Target = T

ยง

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

ยง

type Target = T

ยง

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

ยง

type Target = T

ยง

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

ยง

type Target = T

ยง

impl<T> Deref for RwLockReadGuardArc<T>

ยง

type Target = T

ยง

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

ยง

type Target = T

ยง

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

ยง

type Target = T

ยง

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

ยง

type Target = T

ยง

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

ยง

type Target = T

ยง

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

ยง

type Target = T

ยง

impl<T> Deref for ScratchVec<T>

ยง

impl<T> Deref for SendOption<T>

ยง

impl<T> Deref for SendWrapper<T>

ยง

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 SpinButtonRule<T>

ยง

type Target = Rule<T, SpinButtonRuleTrigger>

ยง

impl<T> Deref for Text<T>

ยง

type Target = T

ยง

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

ยง

impl<T> Deref for TrackedObject<T>

ยง

type Target = T

ยง

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

ยง

type Target = T

ยง

impl<T> Deref for UnbufferedConnectionCommon<T>

ยง

type Target = CommonState

ยง

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

ยง

type Target = T

1.0.0 ยท Sourceยง

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

1.12.0 ยท Sourceยง

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

1.0.0 ยท Sourceยง

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

Sourceยง

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

1.0.0 ยท Sourceยง

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

Sourceยง

impl<T, A> Deref for alloc::sync::UniqueArc<T, A>
where A: Allocator, T: ?Sized,

1.0.0 ยท Sourceยง

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

ยง

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,

Sourceยง

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

Sourceยง

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

Sourceยง

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

ยง

impl<T, E> Deref for BoxedStream<T, E>

ยง

type Target = Pin<Box<dyn Stream<Item = Result<T, E>> + Send>>

1.80.0 ยท Sourceยง

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

Sourceยง

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

1.80.0 ยท Sourceยง

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

ยง

impl<T, F> Deref for ArchivedRc<T, F>
where T: ArchivePointee + ?Sized,

ยง

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

ยง

impl<T, F> Deref for VarZeroVec<'_, T, F>
where T: VarULE + ?Sized, F: VarZeroVecFormat,

ยง

type Target = VarZeroSlice<T, F>

ยง

impl<T, F> Deref for VarZeroVecOwned<T, F>
where T: VarULE + ?Sized, F: VarZeroVecFormat,

ยง

type Target = VarZeroSlice<T, F>

ยง

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

ยง

type Target = T

Sourceยง

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

ยง

impl<T, Inner> Deref for ReadGuard<T, Inner>
where Inner: Deref<Target = T>,

ยง

type Target = T

ยง

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

ยง

impl<T, S> Deref for SignalReadGuard<T, S>
where S: Storage<T>,

ยง

type Target = T

ยง

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

ยง

type Target = HashSet<T, S>

ยง

impl<T, S> Deref for Guard<T, S>
where T: RefCnt, S: Strategy<T>,

ยง

type Target = T

ยง

impl<T, Ser> Deref for ArcResource<T, Ser>

ยง

impl<T, Ser> Deref for Resource<T, Ser>
where T: Send + Sync + 'static,

ยง

impl<T, Ser> Deref for SharedValue<T, Ser>

ยง

type Target = T

ยง

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

ยง

type Target = U

ยง

impl<T, U> Deref for OwnedMappedMutexGuard<T, U>
where T: ?Sized, U: ?Sized,

ยง

type Target = U

ยง

impl<T, U> Deref for OwnedRwLockMappedWriteGuard<T, U>
where T: ?Sized, U: ?Sized,

ยง

type Target = U

ยง

impl<T, U> Deref for OwnedRwLockReadGuard<T, U>
where T: ?Sized, U: ?Sized,

ยง

type Target = U

ยง

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

ยง

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

ยง

type Target = Z

ยง

impl<const N: usize> Deref for AlignedBytes<N>

ยง

type Target = [u8; N]

ยง

impl<const N: usize> Deref for CcidEndpoints<N>

ยง

type Target = [u8]

ยง

impl<const N: usize> Deref for TinyAsciiStr<N>

ยง

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