pub enum Array {
Explicit(ArrayExplicit),
Repeated(ArrayRepeated),
}Variants§
Explicit(ArrayExplicit)
Repeated(ArrayRepeated)
Implementations§
Source§impl Array
impl Array
pub fn into_explicit(self) -> Option<ArrayExplicit>
pub fn into_repeated(self) -> Option<ArrayRepeated>
pub fn as_explicit(&self) -> Option<&ArrayExplicit>
pub fn as_repeated(&self) -> Option<&ArrayRepeated>
pub fn is_explicit(&self) -> bool
pub fn is_repeated(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Array
impl RefUnwindSafe for Array
impl Send for Array
impl Sync for Array
impl Unpin for Array
impl UnsafeUnpin for Array
impl UnwindSafe for Array
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