Struct sheets::types::OverlayPosition
source · pub struct OverlayPosition {
pub anchor_cell: Option<GridCoordinate>,
pub height_pixels: i64,
pub offset_x_pixels: i64,
pub offset_y_pixels: i64,
pub width_pixels: i64,
}
Expand description
The location an object is overlaid on top of a grid.
Fields
anchor_cell: Option<GridCoordinate>
The location an object is overlaid on top of a grid.
height_pixels: i64
The location an object is overlaid on top of a grid.
offset_x_pixels: i64
The location an object is overlaid on top of a grid.
offset_y_pixels: i64
The location an object is overlaid on top of a grid.
width_pixels: i64
The location an object is overlaid on top of a grid.
Trait Implementations
sourceimpl Clone for OverlayPosition
impl Clone for OverlayPosition
sourcefn clone(&self) -> OverlayPosition
fn clone(&self) -> OverlayPosition
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 moresourceimpl Debug for OverlayPosition
impl Debug for OverlayPosition
sourceimpl<'de> Deserialize<'de> for OverlayPosition
impl<'de> Deserialize<'de> for OverlayPosition
sourcefn 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
sourceimpl JsonSchema for OverlayPosition
impl JsonSchema for OverlayPosition
sourcefn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
sourcefn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresourceimpl PartialEq<OverlayPosition> for OverlayPosition
impl PartialEq<OverlayPosition> for OverlayPosition
sourcefn eq(&self, other: &OverlayPosition) -> bool
fn eq(&self, other: &OverlayPosition) -> bool
sourceimpl Serialize for OverlayPosition
impl Serialize for OverlayPosition
impl StructuralPartialEq for OverlayPosition
Auto Trait Implementations
impl RefUnwindSafe for OverlayPosition
impl Send for OverlayPosition
impl Sync for OverlayPosition
impl Unpin for OverlayPosition
impl UnwindSafe for OverlayPosition
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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