pub struct Inset {
pub left: Emu,
pub top: Emu,
pub right: Emu,
pub bottom: Emu,
}Expand description
文本框内边距(<a:bodyPr lIns tIns rIns bIns>)。
在 <a:bodyPr> 元素上以 4 个独立属性表示,单位 EMU。
python-pptx 中 TextFrame.margin_left/right/top/bottom 即对应这 4 个值。
Fields§
§left: Emu左内边距(EMU)。
top: Emu上内边距(EMU)。
right: Emu右内边距(EMU)。
bottom: Emu下内边距(EMU)。
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Inset
impl RefUnwindSafe for Inset
impl Send for Inset
impl Sync for Inset
impl Unpin for Inset
impl UnsafeUnpin for Inset
impl UnwindSafe for Inset
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