pub struct Attributes { /* private fields */ }
Expand description
The attributes used on the build.
Implementations§
Source§impl Attributes
impl Attributes
Sourcepub fn windows_attributes(self, windows_attributes: WindowsAttributes) -> Self
pub fn windows_attributes(self, windows_attributes: WindowsAttributes) -> Self
Sets the icon to use on the window. Currently only used on Windows.
Trait Implementations§
Source§impl Debug for Attributes
impl Debug for Attributes
Source§impl Default for Attributes
impl Default for Attributes
Source§fn default() -> Attributes
fn default() -> Attributes
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Attributes
impl RefUnwindSafe for Attributes
impl Send for Attributes
impl Sync for Attributes
impl Unpin for Attributes
impl UnwindSafe for Attributes
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