pub struct FileSet { /* private fields */ }
Implementations§
Source§impl FileSet
impl FileSet
pub fn new() -> FileSet
pub fn base(&self) -> usize
pub fn iter(&self) -> FileSetIter<'_> ⓘ
pub fn file(&self, p: usize) -> Option<&File>
pub fn position(&self, p: usize) -> Option<FilePos>
pub fn index_file(&mut self, i: usize) -> Option<&mut File>
pub fn recent_file(&mut self) -> Option<&mut File>
pub fn add_file( &mut self, name: String, base: Option<usize>, size: usize, ) -> &mut File
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileSet
impl RefUnwindSafe for FileSet
impl !Send for FileSet
impl !Sync for FileSet
impl Unpin for FileSet
impl UnwindSafe for FileSet
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