pub enum ConnectBody {
Semicolon,
Brace,
}Expand description
Body of a connect statement: ; or { … }.
Variants§
Trait Implementations§
Source§impl Clone for ConnectBody
impl Clone for ConnectBody
Source§fn clone(&self) -> ConnectBody
fn clone(&self) -> ConnectBody
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConnectBody
impl Debug for ConnectBody
impl Eq for ConnectBody
Source§impl PartialEq for ConnectBody
impl PartialEq for ConnectBody
Source§fn eq(&self, other: &ConnectBody) -> bool
fn eq(&self, other: &ConnectBody) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConnectBody
Auto Trait Implementations§
impl Freeze for ConnectBody
impl RefUnwindSafe for ConnectBody
impl Send for ConnectBody
impl Sync for ConnectBody
impl Unpin for ConnectBody
impl UnsafeUnpin for ConnectBody
impl UnwindSafe for ConnectBody
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