Struct gtk4::builders::IconThemeBuilder
source · [−]pub struct IconThemeBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct IconTheme
objects.
Implementations
sourceimpl IconThemeBuilder
impl IconThemeBuilder
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new IconThemeBuilder
.
pub fn display(self, display: &impl IsA<Display>) -> Self
pub fn resource_path(self, resource_path: Vec<String>) -> Self
pub fn search_path(self, search_path: Vec<String>) -> Self
pub fn theme_name(self, theme_name: &str) -> Self
Trait Implementations
sourceimpl Clone for IconThemeBuilder
impl Clone for IconThemeBuilder
sourcefn clone(&self) -> IconThemeBuilder
fn clone(&self) -> IconThemeBuilder
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for IconThemeBuilder
impl Default for IconThemeBuilder
sourcefn default() -> IconThemeBuilder
fn default() -> IconThemeBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for IconThemeBuilder
impl !Send for IconThemeBuilder
impl !Sync for IconThemeBuilder
impl Unpin for IconThemeBuilder
impl UnwindSafe for IconThemeBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more