Trait protobuf::Clear[][src]

pub trait Clear {
    fn clear(&mut self);
}

anything that can be cleared

Required methods

fn clear(&mut self)[src]

Clear this make, make it equivalent to newly created object.

Loading content...

Implementations on Foreign Types

impl<T> Clear for Option<T>[src]

impl Clear for String[src]

impl<T> Clear for Vec<T>[src]

impl Clear for Bytes[src]

Loading content...

Implementors

impl Clear for DescriptorProto[src]

impl Clear for DescriptorProto_ExtensionRange[src]

impl Clear for DescriptorProto_ReservedRange[src]

impl Clear for EnumDescriptorProto[src]

impl Clear for EnumOptions[src]

impl Clear for EnumValueDescriptorProto[src]

impl Clear for EnumValueOptions[src]

impl Clear for FieldDescriptorProto[src]

impl Clear for FieldOptions[src]

impl Clear for FileDescriptorProto[src]

impl Clear for FileDescriptorSet[src]

impl Clear for FileOptions[src]

impl Clear for GeneratedCodeInfo[src]

impl Clear for GeneratedCodeInfo_Annotation[src]

impl Clear for MessageOptions[src]

impl Clear for MethodDescriptorProto[src]

impl Clear for MethodOptions[src]

impl Clear for OneofDescriptorProto[src]

impl Clear for OneofOptions[src]

impl Clear for ServiceDescriptorProto[src]

impl Clear for ServiceOptions[src]

impl Clear for SourceCodeInfo[src]

impl Clear for SourceCodeInfo_Location[src]

impl Clear for UninterpretedOption[src]

impl Clear for UninterpretedOption_NamePart[src]

impl Clear for CodeGeneratorRequest[src]

impl Clear for CodeGeneratorResponse[src]

impl Clear for CodeGeneratorResponse_File[src]

impl Clear for Chars[src]

impl Clear for UnknownFields[src]

impl Clear for Any[src]

impl Clear for Api[src]

impl Clear for BoolValue[src]

impl Clear for BytesValue[src]

impl Clear for DoubleValue[src]

impl Clear for Duration[src]

impl Clear for Empty[src]

impl Clear for Enum[src]

impl Clear for EnumValue[src]

impl Clear for Field[src]

impl Clear for FieldMask[src]

impl Clear for FloatValue[src]

impl Clear for Int32Value[src]

impl Clear for Int64Value[src]

impl Clear for ListValue[src]

impl Clear for Method[src]

impl Clear for Mixin[src]

impl Clear for protobuf::well_known_types::Option[src]

impl Clear for SourceContext[src]

impl Clear for StringValue[src]

impl Clear for Struct[src]

impl Clear for Timestamp[src]

impl Clear for Type[src]

impl Clear for UInt32Value[src]

impl Clear for UInt64Value[src]

impl Clear for Value[src]

impl<T> Clear for RepeatedField<T>[src]

Loading content...