pub struct ExtMap(/* private fields */);Expand description
An crate::ExtMap builder.
Implementations§
Source§impl ExtMap
impl ExtMap
pub fn new(id: u8, uri: impl ToString) -> Self
pub fn direction(self, direction: Direction) -> Self
pub fn direction_if(self, direction: Direction, predicate: bool) -> Self
pub fn direction_if_some(self, direction: Option<Direction>) -> Self
pub fn attributes(self, attributes: impl ToString) -> Self
pub fn attributes_if(self, attributes: impl ToString, predicate: bool) -> Self
pub fn attributes_if_some(self, attributes: Option<impl ToString>) -> Self
pub fn build(self) -> ExtMap
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExtMap
impl RefUnwindSafe for ExtMap
impl Send for ExtMap
impl Sync for ExtMap
impl Unpin for ExtMap
impl UnsafeUnpin for ExtMap
impl UnwindSafe for ExtMap
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