pub struct RelativeIDList(pub *mut ITEMIDLIST);Tuple Fields§
§0: *mut ITEMIDLISTImplementations§
Source§impl RelativeIDList
impl RelativeIDList
Sourcepub fn into_child(self) -> ChildID
pub fn into_child(self) -> ChildID
Converts this RelativeIDList to a ChildID, transferring ownership.
The underlying PIDL should be a valid child item ID.
§Safety
This is safe as most APIs either check or don’t care.
Sourcepub fn to_child_ref(&self) -> ChildIDRef<'_>
pub fn to_child_ref(&self) -> ChildIDRef<'_>
Converts this RelativeIDList to a ChildIDRef without transferring ownership.
§Safety
This is safe as most APIs either check or don’t care.
Trait Implementations§
Source§impl Clone for RelativeIDList
impl Clone for RelativeIDList
Source§fn clone(&self) -> RelativeIDList
fn clone(&self) -> RelativeIDList
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 moreSource§impl Debug for RelativeIDList
impl Debug for RelativeIDList
Source§impl Drop for RelativeIDList
impl Drop for RelativeIDList
Source§impl<'a> From<&'a RelativeIDList> for RelativeIDListRef<'a>
impl<'a> From<&'a RelativeIDList> for RelativeIDListRef<'a>
Source§fn from(id: &'a RelativeIDList) -> Self
fn from(id: &'a RelativeIDList) -> Self
Converts to this type from the input type.
Source§impl From<*mut ITEMIDLIST> for RelativeIDList
impl From<*mut ITEMIDLIST> for RelativeIDList
Source§impl From<RelativeIDList> for ChildID
impl From<RelativeIDList> for ChildID
Source§fn from(value: RelativeIDList) -> Self
fn from(value: RelativeIDList) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Send for RelativeIDList
impl !Sync for RelativeIDList
impl Freeze for RelativeIDList
impl RefUnwindSafe for RelativeIDList
impl Unpin for RelativeIDList
impl UnsafeUnpin for RelativeIDList
impl UnwindSafe for RelativeIDList
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