pub struct FileIndexing_with_capacity {
pub file: String,
pub capacity: usize,
pub buf: String,
}Fields§
§file: String§capacity: usize§buf: StringImplementations§
Source§impl FileIndexing_with_capacity
impl FileIndexing_with_capacity
pub fn len(&self) -> Result<usize>
pub fn index(&mut self, indx: usize) -> Result<String>
pub fn pop(&self) -> Result<()>
pub fn rotate(&mut self, lop: usize) -> Result<()>
pub fn pust_str(&mut self, _str: &str) -> Result<()>
pub fn replase_line(&mut 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_with_capacity
impl RefUnwindSafe for FileIndexing_with_capacity
impl Send for FileIndexing_with_capacity
impl Sync for FileIndexing_with_capacity
impl Unpin for FileIndexing_with_capacity
impl UnwindSafe for FileIndexing_with_capacity
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