pub struct Attachment<'a> { /* private fields */ }Implementations§
Source§impl<'a> Attachment<'a>
impl<'a> Attachment<'a>
pub fn as_region_attachment(&mut self) -> RegionAttachment<'a>
pub fn name(&self) -> &str
pub fn kind(&self) -> AttachmentType
Auto Trait Implementations§
impl<'a> Freeze for Attachment<'a>
impl<'a> RefUnwindSafe for Attachment<'a>
impl<'a> !Send for Attachment<'a>
impl<'a> !Sync for Attachment<'a>
impl<'a> Unpin for Attachment<'a>
impl<'a> UnsafeUnpin for Attachment<'a>
impl<'a> UnwindSafe for Attachment<'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