pub struct EnumValueBuilder { /* private fields */ }Expand description
Builder for enum values
Note: All methods are fallible because the underlying enum value could be deleted while you hold a reference to the builder.
Implementations§
Source§impl EnumValueBuilder
impl EnumValueBuilder
Trait Implementations§
Source§impl BamlEncode for EnumValueBuilder
impl BamlEncode for EnumValueBuilder
Source§fn baml_encode(&self) -> HostValue
fn baml_encode(&self) -> HostValue
Encode to a
HostValue (inbound schema)Source§impl Clone for EnumValueBuilder
impl Clone for EnumValueBuilder
Source§fn clone(&self) -> EnumValueBuilder
fn clone(&self) -> EnumValueBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for EnumValueBuilder
impl RefUnwindSafe for EnumValueBuilder
impl Send for EnumValueBuilder
impl Sync for EnumValueBuilder
impl Unpin for EnumValueBuilder
impl UnwindSafe for EnumValueBuilder
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