[−][src]Struct atelier_core::model::builder::UnionBuilder
Builder for ShapeBody::Union
shapes.
Implementations
impl UnionBuilder
[src]
pub fn new(id: &str) -> Self
[src]
Construct a new shape builder, with id.
pub fn member(&mut self, id: &str, id_ref: &str) -> &mut Self
[src]
Add a member named id
, as a reference to the shape id_ref
to this shape.
pub fn add_member(&mut self, member: Member) -> &mut Self
[src]
Add member
to this shape.
pub fn blob(&mut self, id: &str) -> &mut Self
[src]
Add a member named id
, with a reference to the corresponding simple shape, to this shape.
pub fn boolean(&mut self, id: &str) -> &mut Self
[src]
Add a member named id
, with a reference to the corresponding simple shape, to this shape.
pub fn document(&mut self, id: &str) -> &mut Self
[src]
Add a member named id
, with a reference to the corresponding simple shape, to this shape.
pub fn string(&mut self, id: &str) -> &mut Self
[src]
Add a member named id
, with a reference to the corresponding simple shape, to this shape.
pub fn byte(&mut self, id: &str) -> &mut Self
[src]
Add a member named id
, with a reference to the corresponding simple shape, to this shape.
pub fn short(&mut self, id: &str) -> &mut Self
[src]
Add a member named id
, with a reference to the corresponding simple shape, to this shape.
pub fn integer(&mut self, id: &str) -> &mut Self
[src]
Add a member named id
, with a reference to the corresponding simple shape, to this shape.
pub fn long(&mut self, id: &str) -> &mut Self
[src]
Add a member named id
, with a reference to the corresponding simple shape, to this shape.
pub fn float(&mut self, id: &str) -> &mut Self
[src]
Add a member named id
, with a reference to the corresponding simple shape, to this shape.
pub fn double(&mut self, id: &str) -> &mut Self
[src]
Add a member named id
, with a reference to the corresponding simple shape, to this shape.
pub fn big_integer(&mut self, id: &str) -> &mut Self
[src]
Add a member named id
, with a reference to the corresponding simple shape, to this shape.
pub fn big_decimal(&mut self, id: &str) -> &mut Self
[src]
Add a member named id
, with a reference to the corresponding simple shape, to this shape.
pub fn timestamp(&mut self, id: &str) -> &mut Self
[src]
Add a member named id
, with a reference to the corresponding simple shape, to this shape.
pub fn streaming(&mut self) -> &mut Self
[src]
Add the correspondingly named prelude trait to this model element
Trait Implementations
impl Debug for UnionBuilder
[src]
impl<'_> From<&'_ mut UnionBuilder> for Shape
[src]
fn from(builder: &mut UnionBuilder) -> Self
[src]
impl From<UnionBuilder> for Shape
[src]
fn from(builder: UnionBuilder) -> Self
[src]
impl ShapeBuilder<Shape> for UnionBuilder
[src]
fn inner(&self) -> &Shape
[src]
fn inner_mut(&mut self) -> &mut Shape
[src]
fn documentation(&mut self, documentation: &str) -> &mut Self
[src]
fn add_trait(&mut self, a_trait: Trait) -> &mut Self
[src]
fn external_documentation(&mut self, map: &[(&str, &str)]) -> &mut Self
[src]
fn deprecated(
&mut self,
message: Option<&str>,
since: Option<&str>
) -> &mut Self
[src]
&mut self,
message: Option<&str>,
since: Option<&str>
) -> &mut Self
fn since(&mut self, date: &str) -> &mut Self
[src]
fn tagged(&mut self, tags: &[&str]) -> &mut Self
[src]
fn unstable(&mut self) -> &mut Self
[src]
Auto Trait Implementations
impl RefUnwindSafe for UnionBuilder
impl Send for UnionBuilder
impl Sync for UnionBuilder
impl Unpin for UnionBuilder
impl UnwindSafe for UnionBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,