pub struct PathsBuilder { /* private fields */ }
Implementations§
Source§impl PathsBuilder
impl PathsBuilder
Sourcepub fn new() -> PathsBuilder
pub fn new() -> PathsBuilder
Constructs a new PathsBuilder
.
Source§impl PathsBuilder
impl PathsBuilder
Sourcepub fn path<I>(self, path: I, item: PathItem) -> PathsBuilder
pub fn path<I>(self, path: I, item: PathItem) -> PathsBuilder
Sourcepub fn extensions(self, extensions: Option<Extensions>) -> PathsBuilder
pub fn extensions(self, extensions: Option<Extensions>) -> PathsBuilder
Add extensions to the paths section.
Sourcepub fn path_from<P>(self) -> PathsBuilderwhere
P: Path,
pub fn path_from<P>(self) -> PathsBuilderwhere
P: Path,
Trait Implementations§
Source§impl Default for PathsBuilder
impl Default for PathsBuilder
Source§fn default() -> PathsBuilder
fn default() -> PathsBuilder
Returns the “default value” for a type. Read more
Source§impl From<Paths> for PathsBuilder
impl From<Paths> for PathsBuilder
Source§fn from(value: Paths) -> PathsBuilder
fn from(value: Paths) -> PathsBuilder
Converts to this type from the input type.
Source§impl From<PathsBuilder> for Paths
impl From<PathsBuilder> for Paths
Source§fn from(value: PathsBuilder) -> Paths
fn from(value: PathsBuilder) -> Paths
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PathsBuilder
impl RefUnwindSafe for PathsBuilder
impl Send for PathsBuilder
impl Sync for PathsBuilder
impl Unpin for PathsBuilder
impl UnwindSafe for PathsBuilder
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