pub struct DragDataItemBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> DragDataItemBuilder<'a>
impl<'a> DragDataItemBuilder<'a>
Sourcepub fn title(self, title: impl Into<Cow<'a, str>>) -> Self
pub fn title(self, title: impl Into<Cow<'a, str>>) -> Self
Title associated with a link. Only valid when ‘mimeType’ == “text/uri-list”.
Sourcepub fn baseURL(self, baseURL: impl Into<Cow<'a, str>>) -> Self
pub fn baseURL(self, baseURL: impl Into<Cow<'a, str>>) -> Self
Stores the base URL for the contained markup. Only valid when ‘mimeType’ == “text/html”.
pub fn build(self) -> DragDataItem<'a>
Auto Trait Implementations§
impl<'a> Freeze for DragDataItemBuilder<'a>
impl<'a> RefUnwindSafe for DragDataItemBuilder<'a>
impl<'a> Send for DragDataItemBuilder<'a>
impl<'a> Sync for DragDataItemBuilder<'a>
impl<'a> Unpin for DragDataItemBuilder<'a>
impl<'a> UnsafeUnpin for DragDataItemBuilder<'a>
impl<'a> UnwindSafe for DragDataItemBuilder<'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