Struct google_docs1::api::PositionedObjectPositioning
source · pub struct PositionedObjectPositioning {
pub layout: Option<String>,
pub left_offset: Option<Dimension>,
pub top_offset: Option<Dimension>,
}
Expand description
The positioning of a PositionedObject. The positioned object is positioned relative to the beginning of the Paragraph it’s tethered to.
This type is not used in any activity, and only used as part of another schema.
Fields§
§layout: Option<String>
The layout of this positioned object.
left_offset: Option<Dimension>
The offset of the left edge of the positioned object relative to the beginning of the Paragraph it’s tethered to. The exact positioning of the object can depend on other content in the document and the document’s styling.
top_offset: Option<Dimension>
The offset of the top edge of the positioned object relative to the beginning of the Paragraph it’s tethered to. The exact positioning of the object can depend on other content in the document and the document’s styling.
Trait Implementations§
source§impl Clone for PositionedObjectPositioning
impl Clone for PositionedObjectPositioning
source§fn clone(&self) -> PositionedObjectPositioning
fn clone(&self) -> PositionedObjectPositioning
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 PositionedObjectPositioning
impl Debug for PositionedObjectPositioning
source§impl Default for PositionedObjectPositioning
impl Default for PositionedObjectPositioning
source§fn default() -> PositionedObjectPositioning
fn default() -> PositionedObjectPositioning
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PositionedObjectPositioning
impl<'de> Deserialize<'de> for PositionedObjectPositioning
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
impl Part for PositionedObjectPositioning
Auto Trait Implementations§
impl RefUnwindSafe for PositionedObjectPositioning
impl Send for PositionedObjectPositioning
impl Sync for PositionedObjectPositioning
impl Unpin for PositionedObjectPositioning
impl UnwindSafe for PositionedObjectPositioning
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