pub struct Hyperlink {
pub rid: Option<String>,
pub tooltip: Option<String>,
pub action: Option<String>,
pub invalid: bool,
}Expand description
超链接(<a:hlinkClick> / <a:hlinkHover>)。
对应 python-pptx Hyperlink 对象。通过 r:id 引用 rels 中的目标 URL。
Fields§
§rid: Option<String>关系 ID(r:id,指向 .rels 中的 target URL)。
tooltip: Option<String>鼠标悬停提示(tooltip 属性)。
action: Option<String>动作类型(action 属性,如 "ppaction://hlinksldjump" 跳转幻灯片)。
invalid: bool是否无效的超链接(仅写出 <a:hlinkClick/> 无属性,用于继承)。
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Hyperlink
impl RefUnwindSafe for Hyperlink
impl Send for Hyperlink
impl Sync for Hyperlink
impl Unpin for Hyperlink
impl UnsafeUnpin for Hyperlink
impl UnwindSafe for Hyperlink
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