pub struct SetLocalFontsEnabledBuilder { /* private fields */ }Expand description
Builder for SetLocalFontsEnabled.
Implementations§
Source§impl SetLocalFontsEnabledBuilder
impl SetLocalFontsEnabledBuilder
Sourcepub fn enabled<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn enabled<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
Whether rendering of local fonts is enabled.
Sourcepub fn build(
&self,
) -> Result<SetLocalFontsEnabled, SetLocalFontsEnabledBuilderError>
pub fn build( &self, ) -> Result<SetLocalFontsEnabled, SetLocalFontsEnabledBuilderError>
Trait Implementations§
Source§impl Clone for SetLocalFontsEnabledBuilder
impl Clone for SetLocalFontsEnabledBuilder
Source§fn clone(&self) -> SetLocalFontsEnabledBuilder
fn clone(&self) -> SetLocalFontsEnabledBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SetLocalFontsEnabledBuilder
impl RefUnwindSafe for SetLocalFontsEnabledBuilder
impl Send for SetLocalFontsEnabledBuilder
impl Sync for SetLocalFontsEnabledBuilder
impl Unpin for SetLocalFontsEnabledBuilder
impl UnsafeUnpin for SetLocalFontsEnabledBuilder
impl UnwindSafe for SetLocalFontsEnabledBuilder
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