pub struct FrameRef {
pub frame_id: usize,
pub parent_frame_id: Option<usize>,
pub is_blockquote: bool,
pub depth: usize,
}Expand description
Reference to the frame that immediately encloses the cursor’s block.
depth is the nesting level (1 for a direct child of the root).
is_blockquote is true iff fmt_is_blockquote is Some(true).
Fields§
§frame_id: usize§parent_frame_id: Option<usize>§is_blockquote: bool§depth: usizeTrait Implementations§
impl Eq for FrameRef
impl StructuralPartialEq for FrameRef
Auto Trait Implementations§
impl Freeze for FrameRef
impl RefUnwindSafe for FrameRef
impl Send for FrameRef
impl Sync for FrameRef
impl Unpin for FrameRef
impl UnsafeUnpin for FrameRef
impl UnwindSafe for FrameRef
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