pub struct Fenced {
pub path: RepoPath,
pub region: bool,
pub lines: Vec<u32>,
pub range: Option<Range<u32>>,
}Expand description
A Fenced is the source of an include block that holds a file, whole or
one region of it, in a fence.
Fields§
§path: RepoPathThe included file.
region: boolWhether the block includes a region of the file.
lines: Vec<u32>The lines of the file that the code of the fence holds.
range: Option<Range<u32>>Those lines as one run of whole lines, where they are one.
Trait Implementations§
impl Eq for Fenced
impl StructuralPartialEq for Fenced
Auto Trait Implementations§
impl Forget for Fenced
impl Freeze for Fenced
impl Move for Fenced
impl RefUnwindSafe for Fenced
impl Send for Fenced
impl Sync for Fenced
impl Unpin for Fenced
impl UnsafeUnpin for Fenced
impl UnwindSafe for Fenced
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.