Lines Matching refs:RawDir
0 //! `RawDir` and `RawDirEntry`.
18 /// the file descriptor isn't changed. See the example in [`RawDir::new`].
19 pub struct RawDir<'buf, Fd: AsFd> {
26 impl<'buf, Fd: AsFd> RawDir<'buf, Fd> {
43 /// # use rustix::fs::{cwd, Mode, OFlags, openat, RawDir};
48 /// let mut iter = RawDir::new(fd, buf.spare_capacity_mut());
59 /// # use rustix::fs::{cwd, Mode, OFlags, openat, RawDir};
64 /// let mut iter = RawDir::new(fd, &mut buf);
79 /// # use rustix::fs::{cwd, Mode, OFlags, openat, RawDir};
87 /// let mut iter = RawDir::new(&fd, buf.spare_capacity_mut());
168 impl<'buf, Fd: AsFd> RawDir<'buf, Fd> {
191 // - The starting pointer is aligned (performed in RawDir::new)