pub struct FileIndexing {
pub file: String,
}Fields§
§file: StringImplementations§
Source§impl FileIndexing
impl FileIndexing
pub fn len(&self) -> Result<usize>
pub fn index(&self, indx: usize) -> Result<String>
pub fn pop(&self) -> Result<()>
pub fn rotate(&self, lop: usize) -> Result<()>
pub fn pust_str(&self, _str: &str) -> Result<()>
pub fn replase_line(&self, replase: &str, line: usize) -> Result<()>
pub fn readto_string(&self) -> Result<String>
pub fn delete(self) -> Result<()>
pub fn is_empty(&self) -> bool
Auto Trait Implementations§
impl Freeze for FileIndexing
impl RefUnwindSafe for FileIndexing
impl Send for FileIndexing
impl Sync for FileIndexing
impl Unpin for FileIndexing
impl UnwindSafe for FileIndexing
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