pub struct AbsoluteIDListRef<'a>(pub *const ITEMIDLIST, _);Expand description
This has the same memory representation as AbsoluteIDList,
but represents a borrowed ID list pointer.
You should only use this in C arrays/structs, otherwise &AbsoluteIDList is enough and more idiomatic.
Tuple Fields§
§0: *const ITEMIDLISTImplementations§
Trait Implementations§
Source§impl<'a> Clone for AbsoluteIDListRef<'a>
impl<'a> Clone for AbsoluteIDListRef<'a>
Source§fn clone(&self) -> AbsoluteIDListRef<'a>
fn clone(&self) -> AbsoluteIDListRef<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for AbsoluteIDListRef<'a>
Source§impl<'a> Debug for AbsoluteIDListRef<'a>
impl<'a> Debug for AbsoluteIDListRef<'a>
Source§impl<'a> Deref for AbsoluteIDListRef<'a>
impl<'a> Deref for AbsoluteIDListRef<'a>
Source§impl<'a> From<&'a AbsoluteIDList> for AbsoluteIDListRef<'a>
impl<'a> From<&'a AbsoluteIDList> for AbsoluteIDListRef<'a>
Source§fn from(id: &'a AbsoluteIDList) -> Self
fn from(id: &'a AbsoluteIDList) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> !Send for AbsoluteIDListRef<'a>
impl<'a> !Sync for AbsoluteIDListRef<'a>
impl<'a> Freeze for AbsoluteIDListRef<'a>
impl<'a> RefUnwindSafe for AbsoluteIDListRef<'a>
impl<'a> Unpin for AbsoluteIDListRef<'a>
impl<'a> UnsafeUnpin for AbsoluteIDListRef<'a>
impl<'a> UnwindSafe for AbsoluteIDListRef<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more