Struct yuck::config::window_geometry::WindowGeometry
source · [−]pub struct WindowGeometry {
pub anchor_point: AnchorPoint,
pub offset: Coords,
pub size: Coords,
}Fields
anchor_point: AnchorPointoffset: Coordssize: CoordsImplementations
sourceimpl WindowGeometry
impl WindowGeometry
pub fn override_if_given(
&self,
anchor_point: Option<AnchorPoint>,
offset: Option<Coords>,
size: Option<Coords>
) -> Self
Trait Implementations
sourceimpl Clone for WindowGeometry
impl Clone for WindowGeometry
sourcefn clone(&self) -> WindowGeometry
fn clone(&self) -> WindowGeometry
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 Debug for WindowGeometry
impl Debug for WindowGeometry
sourceimpl Default for WindowGeometry
impl Default for WindowGeometry
sourcefn default() -> WindowGeometry
fn default() -> WindowGeometry
Returns the “default value” for a type. Read more
sourceimpl Display for WindowGeometry
impl Display for WindowGeometry
sourceimpl FromAstElementContent for WindowGeometry
impl FromAstElementContent for WindowGeometry
const ELEMENT_NAME: &'static str = "geometry"
fn from_tail<I: Iterator<Item = Ast>>(
span: Span,
iter: AstIterator<I>
) -> AstResult<Self>
sourceimpl PartialEq<WindowGeometry> for WindowGeometry
impl PartialEq<WindowGeometry> for WindowGeometry
sourcefn eq(&self, other: &WindowGeometry) -> bool
fn eq(&self, other: &WindowGeometry) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &WindowGeometry) -> bool
fn ne(&self, other: &WindowGeometry) -> bool
This method tests for !=.
sourceimpl Serialize for WindowGeometry
impl Serialize for WindowGeometry
impl Copy for WindowGeometry
impl Eq for WindowGeometry
impl StructuralEq for WindowGeometry
impl StructuralPartialEq for WindowGeometry
Auto Trait Implementations
impl RefUnwindSafe for WindowGeometry
impl Send for WindowGeometry
impl Sync for WindowGeometry
impl Unpin for WindowGeometry
impl UnwindSafe for WindowGeometry
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
sourceimpl<T> FromAst for T where
T: FromAstElementContent,
impl<T> FromAst for T where
T: FromAstElementContent,
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more