pub struct LinkFact {
pub index: usize,
pub bounds: Rect,
pub visual_bounds: Rect,
pub uri: Option<String>,
}Expand description
链接注解的原始框与 URI;内部跳转的 uri 为 None,保留注解记录。
Fields§
§index: usize§bounds: Rect§visual_bounds: Rect§uri: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for LinkFact
impl<'de> Deserialize<'de> for LinkFact
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
Auto Trait Implementations§
impl Forget for LinkFact
impl Freeze for LinkFact
impl RefUnwindSafe for LinkFact
impl Send for LinkFact
impl Sync for LinkFact
impl Unpin for LinkFact
impl UnsafeUnpin for LinkFact
impl UnwindSafe for LinkFact
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