zerocopy
0.7.35
AsAddress
Required Methods
addr
Implementations on Foreign Types
&'a T
&'a mut T
*const T
*mut T
Implementors
In zerocopy::util
Trait
zerocopy
::
util
::
AsAddress
Copy item path
source
·
[
−
]
pub(crate) trait AsAddress { // Required method fn
addr
(self) ->
usize
; }
Required Methods
§
source
fn
addr
(self) ->
usize
Implementations on Foreign Types
§
source
§
impl<'a, T: ?
Sized
>
AsAddress
for
&'a T
source
§
fn
addr
(self) ->
usize
source
§
impl<'a, T: ?
Sized
>
AsAddress
for
&'a mut T
source
§
fn
addr
(self) ->
usize
source
§
impl<T: ?
Sized
>
AsAddress
for
*const T
source
§
fn
addr
(self) ->
usize
source
§
impl<T: ?
Sized
>
AsAddress
for
*mut T
source
§
fn
addr
(self) ->
usize
Implementors
§