pub struct MappingBuilder { /* private fields */ }
Implementations§
Source§impl MappingBuilder
impl MappingBuilder
pub fn new() -> MappingBuilder
pub fn add_property<T>(&mut self, key: &str, value: T) -> &mut MappingBuilderwhere
T: MappingTrait + 'static,
pub fn set_properties(&mut self, properties: MappingProperties)
pub fn set_settings(&mut self, settings: Value)
pub fn set_aliases(&mut self, aliases: Value)
pub fn build(self) -> Value
Auto Trait Implementations§
impl Freeze for MappingBuilder
impl !RefUnwindSafe for MappingBuilder
impl !Send for MappingBuilder
impl !Sync for MappingBuilder
impl Unpin for MappingBuilder
impl !UnwindSafe for MappingBuilder
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