pub enum SlideBackground {
Property(BackgroundProperty),
Reference(BackgroundReference),
}Expand description
幻灯片背景(对应 <p:bg>)。
OOXML 中 <p:bg> 是 <p:cSld> 的第一个子元素(在 <p:spTree> 之前)。
支持两种模式:
BackgroundProperty:显式背景属性(<p:bgPr>),如纯色填充;BackgroundReference:引用主题背景(<p:bgRef>),idx 指向主题中的背景样式。
Variants§
Property(BackgroundProperty)
显式背景属性(<p:bgPr>)。
Reference(BackgroundReference)
背景引用(<p:bgRef idx="...">)。
Implementations§
Trait Implementations§
Source§impl Clone for SlideBackground
impl Clone for SlideBackground
Source§fn clone(&self) -> SlideBackground
fn clone(&self) -> SlideBackground
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SlideBackground
impl RefUnwindSafe for SlideBackground
impl Send for SlideBackground
impl Sync for SlideBackground
impl Unpin for SlideBackground
impl UnsafeUnpin for SlideBackground
impl UnwindSafe for SlideBackground
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