pub struct SetInfo {
pub level: Option<u16>,
pub position: Option<u32>,
pub size: Option<u32>,
}Expand description
Level, position in its set and set size, from annotations.
Fields§
§level: Option<u16>The heading or tree level, from 1.
position: Option<u32>Position in the set, from 1.
size: Option<u32>The set’s size.
Trait Implementations§
impl Copy for SetInfo
Source§impl<'de> Deserialize<'de> for SetInfo
impl<'de> Deserialize<'de> for SetInfo
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 Eq for SetInfo
impl StructuralPartialEq for SetInfo
Auto Trait Implementations§
impl Forget for SetInfo
impl Freeze for SetInfo
impl Move for SetInfo
impl RefUnwindSafe for SetInfo
impl Send for SetInfo
impl Sync for SetInfo
impl Unpin for SetInfo
impl UnsafeUnpin for SetInfo
impl UnwindSafe for SetInfo
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