Lines Matching defs:FilelikeView
25 /// Declare that a type is safe to use in a [`FilelikeView`].
47 pub struct FilelikeView<'filelike, Target: FilelikeViewType> {
81 impl<Target: FilelikeViewType> FilelikeView<'_, Target> {
82 /// Construct a temporary `Target` and wrap it in a `FilelikeView` object.
85 // Safety: The returned `FilelikeView` is scoped to the lifetime of
91 /// Construct a temporary `Target` from raw and wrap it in a `FilelikeView`
140 impl<Target: FilelikeViewType> Deref for FilelikeView<'_, Target> {
158 impl<Target: FilelikeViewType> Drop for FilelikeView<'_, Target> {
192 impl<Target: FilelikeViewType> fmt::Debug for FilelikeView<'_, Target> {
195 f.debug_struct("FilelikeView")