Struct writeable::testing::TestWriter
source · pub(crate) struct TestWriter {
pub(crate) string: String,
pub(crate) parts: Vec<(usize, usize, Part)>,
}
Fields§
§string: String
§parts: Vec<(usize, usize, Part)>
Implementations§
Trait Implementations§
source§impl PartsWrite for TestWriter
impl PartsWrite for TestWriter
type SubPartsWrite = TestWriter
fn with_part( &mut self, part: Part, f: impl FnMut(&mut Self::SubPartsWrite) -> Result, ) -> Result
Auto Trait Implementations§
impl Freeze for TestWriter
impl RefUnwindSafe for TestWriter
impl Send for TestWriter
impl Sync for TestWriter
impl Unpin for TestWriter
impl UnwindSafe for TestWriter
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