Trait artifact_app::dev_prefix::Deref 1.0.0
[−]
[src]
#[lang = "deref"]pub trait Deref { type Target: ?Sized; fn deref(&self) -> &Self::Target; }
The Deref
trait is used to specify the functionality of dereferencing
operations, like *v
.
Deref
also enables 'Deref
coercions'.
Examples
A struct with a single field which is accessible via dereferencing the struct.
use std::ops::Deref; struct DerefExample<T> { value: T } impl<T> Deref for DerefExample<T> { type Target = T; fn deref(&self) -> &T { &self.value } } fn main() { let x = DerefExample { value: 'a' }; assert_eq!('a', *x); }
Associated Types
Required Methods
Implementors
impl Deref for Error
impl<S> Deref for UniCase<S>
impl<'a> Deref for serde::bytes::Bytes<'a>
impl Deref for serde::bytes::bytebuf::ByteBuf
impl Deref for CString
impl Deref for OsString
impl<T> Deref for AssertUnwindSafe<T>
impl Deref for PathBuf
impl<'mutex, T> Deref for MutexGuard<'mutex, T> where T: ?Sized
impl<'rwlock, T> Deref for RwLockReadGuard<'rwlock, T> where T: ?Sized
impl<'rwlock, T> Deref for RwLockWriteGuard<'rwlock, T> where T: ?Sized
impl<T> Deref for NonZero<T> where T: Zeroable
impl<T> Deref for Unique<T> where T: ?Sized
impl<T> Deref for Shared<T> where T: ?Sized
impl<'a, T> Deref for &'a T where T: ?Sized
impl<'a, T> Deref for &'a mut T where T: ?Sized
impl<'b, T> Deref for Ref<'b, T> where T: ?Sized
impl<'b, T> Deref for RefMut<'b, T> where T: ?Sized
impl Deref for Lit
impl Deref for CharClass
impl Deref for ByteClass
impl Deref for TopLevel
impl Deref for SubLevel
impl Deref for Attr
impl Deref for Value
impl Deref for Lit
impl Deref for CharClass
impl Deref for ByteClass
impl<'a> Deref for serde::bytes::Bytes<'a>
impl Deref for serde::bytes::bytebuf::ByteBuf
impl<'a, T> Deref for PeekMut<'a, T> where T: Ord
impl<'a, B> Deref for Cow<'a, B> where B: ToOwned + ?Sized
impl Deref for String
impl<T> Deref for Vec<T>
impl<'a> Deref for ANSIString<'a>
impl Deref for Matcher
impl<'a, S> Deref for ANSIGenericString<'a, S> where S: 'a + ToOwned + ?Sized,
S::Owned: Debugimpl<M> Deref for IoHandler<M> where M: Metadata
impl<T> Deref for Box<T> where T: ?Sized
impl<T> Deref for Arc<T> where T: ?Sized
impl<T> Deref for Rc<T> where T: ?Sized
impl<S> Deref for Authorization<S> where S: Scheme
impl Deref for Accept
impl Deref for AccessControlAllowHeaders
impl Deref for AccessControlAllowMethods
impl Deref for AccessControlExposeHeaders
impl Deref for AccessControlMaxAge
impl Deref for AccessControlRequestHeaders
impl Deref for AccessControlRequestMethod
impl Deref for AcceptCharset
impl Deref for AcceptEncoding
impl Deref for AcceptLanguage
impl Deref for AcceptRanges
impl Deref for Allow
impl Deref for CacheControl
impl Deref for Cookie
impl Deref for Connection
impl Deref for ContentEncoding
impl Deref for ContentLanguage
impl Deref for ContentLength
impl Deref for ContentRange
impl Deref for ContentType
impl Deref for Date
impl Deref for ETag
impl Deref for Expires
impl Deref for From
impl Deref for IfModifiedSince
impl Deref for IfUnmodifiedSince
impl Deref for LastModified
impl Deref for Location
impl Deref for Prefer
impl Deref for PreferenceApplied
impl Deref for Referer
impl Deref for Server
impl Deref for SetCookie
impl Deref for TransferEncoding
impl Deref for Upgrade
impl Deref for UserAgent
impl Deref for IActivationFactory
impl Deref for IAudioClient
impl Deref for IAudioRenderClient
impl Deref for IPrintDialogCallback
impl Deref for IPrintDialogServices
impl Deref for ISymUnmanagedBinder
impl Deref for ISymUnmanagedBinder2
impl Deref for ID2D1Resource
impl Deref for ID2D1Image
impl Deref for ID2D1Bitmap
impl Deref for ID2D1GradientStopCollection
impl Deref for ID2D1Brush
impl Deref for ID2D1BitmapBrush
impl Deref for ID2D1SolidColorBrush
impl Deref for ID2D1LinearGradientBrush
impl Deref for ID2D1RadialGradientBrush
impl Deref for ID2D1StrokeStyle
impl Deref for ID2D1Geometry
impl Deref for ID2D1RectangleGeometry
impl Deref for ID2D1RoundedRectangleGeometry
impl Deref for ID2D1EllipseGeometry
impl Deref for ID2D1GeometryGroup
impl Deref for ID2D1TransformedGeometry
impl Deref for ID2D1SimplifiedGeometrySink
impl Deref for ID2D1GeometrySink
impl Deref for ID2D1TessellationSink
impl Deref for ID2D1PathGeometry
impl Deref for ID2D1Mesh
impl Deref for ID2D1Layer
impl Deref for ID2D1DrawingStateBlock
impl Deref for ID2D1RenderTarget
impl Deref for ID2D1BitmapRenderTarget
impl Deref for ID2D1HwndRenderTarget
impl Deref for ID2D1GdiInteropRenderTarget
impl Deref for ID2D1DCRenderTarget
impl Deref for ID2D1Factory
impl Deref for IDirect3D9
impl Deref for IDirect3DDevice9
impl Deref for IDirect3DStateBlock9
impl Deref for IDirect3DSwapChain9
impl Deref for IDirect3DResource9
impl Deref for IDirect3DVertexDeclaration9
impl Deref for IDirect3DVertexShader9
impl Deref for IDirect3DPixelShader9
impl Deref for IDirect3DBaseTexture9
impl Deref for IDirect3DTexture9
impl Deref for IDirect3DVolumeTexture9
impl Deref for IDirect3DCubeTexture9
impl Deref for IDirect3DVertexBuffer9
impl Deref for IDirect3DIndexBuffer9
impl Deref for IDirect3DSurface9
impl Deref for IDirect3DVolume9
impl Deref for IDirect3DQuery9
impl Deref for IDirect3D9Ex
impl Deref for IDirect3DDevice9Ex
impl Deref for IDirect3DSwapChain9Ex
impl Deref for IDirect3D9ExOverlayExtension
impl Deref for IDirect3DDevice9Video
impl Deref for IDirect3DAuthenticatedChannel9
impl Deref for IDirect3DCryptoSession9
impl Deref for ID3D11DeviceChild
impl Deref for ID3D11DepthStencilState
impl Deref for ID3D11BlendState
impl Deref for ID3D11RasterizerState
impl Deref for ID3D11Resource
impl Deref for ID3D11Buffer
impl Deref for ID3D11Texture1D
impl Deref for ID3D11Texture2D
impl Deref for ID3D11Texture3D
impl Deref for ID3D11View
impl Deref for ID3D11ShaderResourceView
impl Deref for ID3D11RenderTargetView
impl Deref for ID3D11DepthStencilView
impl Deref for ID3D11UnorderedAccessView
impl Deref for ID3D11VertexShader
impl Deref for ID3D11HullShader
impl Deref for ID3D11DomainShader
impl Deref for ID3D11GeometryShader
impl Deref for ID3D11PixelShader
impl Deref for ID3D11ComputeShader
impl Deref for ID3D11InputLayout
impl Deref for ID3D11SamplerState
impl Deref for ID3D11Asynchronous
impl Deref for ID3D11Query
impl Deref for ID3D11Predicate
impl Deref for ID3D11Counter
impl Deref for ID3D11ClassInstance
impl Deref for ID3D11ClassLinkage
impl Deref for ID3D11CommandList
impl Deref for ID3D11DeviceContext
impl Deref for ID3D11VideoDecoder
impl Deref for ID3D11VideoProcessorEnumerator
impl Deref for ID3D11VideoProcessor
impl Deref for ID3D11AuthenticatedChannel
impl Deref for ID3D11CryptoSession
impl Deref for ID3D11VideoDecoderOutputView
impl Deref for ID3D11VideoProcessorInputView
impl Deref for ID3D11VideoProcessorOutputView
impl Deref for ID3D11VideoContext
impl Deref for ID3D11VideoDevice
impl Deref for ID3D11Device
impl Deref for ID3D10ShaderReflection
impl Deref for ID3D11ShaderReflection
impl Deref for ID3D11LibraryReflection
impl Deref for ID3D11Module
impl Deref for ID3D11ModuleInstance
impl Deref for ID3D11Linker
impl Deref for ID3D11LinkingNode
impl Deref for ID3D11FunctionLinkingGraph
impl Deref for ID3D12Object
impl Deref for ID3D12DeviceChild
impl Deref for ID3D12RootSignature
impl Deref for ID3D12CommandAllocator
impl Deref for ID3D12CommandList
impl Deref for ID3D12CommandQueue
impl Deref for ID3D12CommandSignature
impl Deref for ID3D12DescriptorHeap
impl Deref for ID3D12Device
impl Deref for ID3D12Fence
impl Deref for ID3D12GraphicsCommandList
impl Deref for ID3D12Heap
impl Deref for ID3D12Pageable
impl Deref for ID3D12PipelineState
impl Deref for ID3D12QueryHeap
impl Deref for ID3D12Resource
impl Deref for ID3D12RootSignatureDeserializer
impl Deref for ID3D12Debug
impl Deref for ID3D12DebugDevice
impl Deref for ID3D12DebugCommandQueue
impl Deref for ID3D12DebugCommandList
impl Deref for ID3D12InfoQueue
impl Deref for ID3D12LibraryReflection
impl Deref for ID3D12ShaderReflection
impl Deref for ID3D10Blob
impl Deref for IOleCommandTarget
impl Deref for IDirectSoundBuffer
impl Deref for IDirectSound
impl Deref for IDWriteFontFileLoader
impl Deref for IDWriteLocalFontFileLoader
impl Deref for IDWriteFontFileStream
impl Deref for IDWriteFontFile
impl Deref for IDWriteRenderingParams
impl Deref for IDWriteFontFace
impl Deref for IDWriteFontCollectionLoader
impl Deref for IDWriteFontFileEnumerator
impl Deref for IDWriteLocalizedStrings
impl Deref for IDWriteFontCollection
impl Deref for IDWriteFontList
impl Deref for IDWriteFontFamily
impl Deref for IDWriteFont
impl Deref for IDWriteTextFormat
impl Deref for IDWriteTypography
impl Deref for IDWriteNumberSubstitution
impl Deref for IDWriteTextAnalysisSource
impl Deref for IDWriteTextAnalysisSink
impl Deref for IDWriteTextAnalyzer
impl Deref for IDWriteInlineObject
impl Deref for IDWritePixelSnapping
impl Deref for IDWriteTextRenderer
impl Deref for IDWriteTextLayout
impl Deref for IDWriteBitmapRenderTarget
impl Deref for IDWriteGdiInterop
impl Deref for IDWriteGlyphRunAnalysis
impl Deref for IDWriteFactory
impl Deref for IDXGIObject
impl Deref for IDXGIDeviceSubObject
impl Deref for IDXGIResource
impl Deref for IDXGIKeyedMutex
impl Deref for IDXGISurface
impl Deref for IDXGISurface1
impl Deref for IDXGIAdapter
impl Deref for IDXGIOutput
impl Deref for IDXGISwapChain
impl Deref for IDXGIFactory
impl Deref for IDXGIDevice
impl Deref for IDXGIFactory1
impl Deref for IDXGIAdapter1
impl Deref for IDXGIDevice1
impl Deref for IDXGIAdapter2
impl Deref for IDXGIDevice2
impl Deref for IDXGIDisplayControl
impl Deref for IDXGIFactory2
impl Deref for IDXGIOutput1
impl Deref for IDXGIOutputDuplication
impl Deref for IDXGIResource1
impl Deref for IDXGISurface2
impl Deref for IDXGISwapChain1
impl Deref for IDXGIDecodeSwapChain
impl Deref for IDXGIDevice3
impl Deref for IDXGIFactory3
impl Deref for IDXGIFactoryMedia
impl Deref for IDXGIOutput2
impl Deref for IDXGIOutput3
impl Deref for IDXGISwapChain2
impl Deref for IDXGISwapChainMedia
impl Deref for IDXGIAdapter3
impl Deref for IDXGIFactory4
impl Deref for IDXGIOutput4
impl Deref for IDXGISwapChain3
impl Deref for IInspectable
impl Deref for IMMDevice
impl Deref for IMMDeviceEnumerator
impl Deref for IMMDeviceCollection
impl Deref for ICreateTypeInfo
impl Deref for IDispatch
impl Deref for ITypeInfo
impl Deref for IBindCtx
impl Deref for IRunningObjectTable
impl Deref for IApartmentShutdown
impl Deref for IMarshal
impl Deref for IMalloc
impl Deref for ISequentialStream
impl Deref for IStream
impl Deref for IRestrictedErrorInfo
impl Deref for ISpNotifySource
impl Deref for ISpNotifySink
impl Deref for ISpNotifyTranslator
impl Deref for ISpDataKey
impl Deref for ISpRegDataKey
impl Deref for ISpObjectTokenCategory
impl Deref for ISpObjectToken
impl Deref for ISpObjectTokenInit
impl Deref for IEnumSpObjectTokens
impl Deref for ISpObjectWithToken
impl Deref for ISpResourceManager
impl Deref for ISpEventSource
impl Deref for ISpEventSource2
impl Deref for ISpEventSink
impl Deref for ISpStreamFormat
impl Deref for ISpStream
impl Deref for ISpStreamFormatConverter
impl Deref for ISpAudio
impl Deref for ISpMMSysAudio
impl Deref for ISpTranscript
impl Deref for ISpLexicon
impl Deref for ISpContainerLexicon
impl Deref for ISpShortcut
impl Deref for ISpPhoneConverter
impl Deref for ISpPhoneticAlphabetConverter
impl Deref for ISpPhoneticAlphabetSelection
impl Deref for ISpVoice
impl Deref for ISpPhrase
impl Deref for ISpPhraseAlt
impl Deref for ISpPhrase2
impl Deref for ISpRecoResult
impl Deref for ISpRecoResult2
impl Deref for ISpXMLRecoResult
impl Deref for ISpGrammarBuilder
impl Deref for ISpRecoGrammar
impl Deref for ISpGrammarBuilder2
impl Deref for ISpRecoGrammar2
impl Deref for ISpeechResourceLoader
impl Deref for ISpRecoContext
impl Deref for ISpRecoContext2
impl Deref for ISpProperties
impl Deref for ISpRecognizer
impl Deref for ISpSerializeState
impl Deref for ISpRecognizer2
impl Deref for ISpRecoCategory
impl Deref for ISpRecognizer3
impl Deref for ISpEnginePronunciation
impl Deref for ISpDisplayAlternates
impl Deref for ISpeechDataKey
impl Deref for ISpeechObjectToken
impl Deref for ISpeechObjectTokens
impl Deref for ISpeechObjectTokenCategory
impl Deref for ISpeechAudioBufferInfo
impl Deref for ISpeechAudioStatus
impl Deref for ISpeechAudioFormat
impl Deref for ISpeechWaveFormatEx
impl Deref for IServiceProvider
impl Deref for IShellItem
impl Deref for IModalWindow
impl Deref for IFileDialogEvents
impl Deref for IFileDialog
impl Deref for IFileSaveDialog
impl Deref for IFileOpenDialog
impl Deref for IFileDialogCustomize
impl Deref for IFileDialogControlEvents
impl Deref for IFileDialog2
impl Deref for AsyncIUnknown
impl Deref for IClassFactory
impl Deref for IEnumSTATURL
impl Deref for IUrlHistoryStg
impl Deref for IUrlHistoryStg2
impl Deref for IUrlHistoryNotify
impl Deref for IVssWMComponent
impl Deref for IVssExamineWriterMetadata
impl Deref for IVssExamineWriterMetadataEx
impl Deref for IVssExamineWriterMetadataEx2
impl Deref for IVssBackupComponents
impl Deref for IVssBackupComponentsEx
impl Deref for IVssBackupComponentsEx2
impl Deref for IVssBackupComponentsEx3
impl Deref for IVssBackupComponentsEx4
impl Deref for IVssEnumObject
impl Deref for IVssAsync
impl Deref for IVssWMFiledesc
impl Deref for IVssWMDependency
impl Deref for IVssComponent
impl Deref for IVssComponentEx
impl Deref for IVssComponentEx2
impl Deref for IWICPalette
impl Deref for IWICBitmapSource
impl Deref for IWICFormatConverter
impl Deref for IWICPlanarFormatConverter
impl Deref for IWICBitmapScaler
impl Deref for IWICBitmapClipper
impl Deref for IWICBitmapFlipRotator
impl Deref for IWICBitmapLock
impl Deref for IWICBitmap
impl<T> Deref for SharedItem<T>
impl<E> Deref for SharedError<E>
impl<'a, T> Deref for BiLockGuard<'a, T>
impl<T> Deref for BiLockAcquired<T>
impl Deref for ART_VALID
impl Deref for PARENT_PATH
impl Deref for INCREMENTING_ID
impl Deref for REPO_DIR
impl Deref for SETTINGS_PATH
impl Deref for SPC
impl Deref for TST