Struct pix_engine::gui::theme::SpacingBuilder
source · #[non_exhaustive]pub struct SpacingBuilder { /* private fields */ }
Expand description
Builds a Spacing instance by customizing various space and padding settings.
Implementations§
Trait Implementations§
source§impl Clone for SpacingBuilder
impl Clone for SpacingBuilder
source§fn clone(&self) -> SpacingBuilder
fn clone(&self) -> SpacingBuilder
Returns a copy 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 moresource§impl Debug for SpacingBuilder
impl Debug for SpacingBuilder
source§impl Default for SpacingBuilder
impl Default for SpacingBuilder
source§impl<'de> Deserialize<'de> for SpacingBuilder
impl<'de> Deserialize<'de> for SpacingBuilder
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for SpacingBuilder
impl Hash for SpacingBuilder
source§impl PartialEq for SpacingBuilder
impl PartialEq for SpacingBuilder
source§fn eq(&self, other: &SpacingBuilder) -> bool
fn eq(&self, other: &SpacingBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SpacingBuilder
impl Serialize for SpacingBuilder
impl Copy for SpacingBuilder
impl Eq for SpacingBuilder
impl StructuralEq for SpacingBuilder
impl StructuralPartialEq for SpacingBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SpacingBuilder
impl Send for SpacingBuilder
impl Sync for SpacingBuilder
impl Unpin for SpacingBuilder
impl UnwindSafe for SpacingBuilder
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more