Enum protobuf::descriptor::field_options::CType
source · [−]pub enum CType {
STRING,
CORD,
STRING_PIECE,
}
Variants
STRING
CORD
STRING_PIECE
Trait Implementations
sourceimpl Enum for CType
impl Enum for CType
sourceimpl EnumFull for CType
impl EnumFull for CType
sourcefn enum_descriptor() -> EnumDescriptor
fn enum_descriptor() -> EnumDescriptor
Get enum descriptor by type.
sourcefn descriptor(&self) -> EnumValueDescriptor
fn descriptor(&self) -> EnumValueDescriptor
Get enum value descriptor.
impl Copy for CType
impl Eq for CType
impl StructuralEq for CType
impl StructuralPartialEq for CType
Auto Trait Implementations
impl RefUnwindSafe for CType
impl Send for CType
impl Sync for CType
impl Unpin for CType
impl UnwindSafe for CType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more