Struct ql2::proto::Term [] [src]

pub struct Term {
    // some fields omitted
}

Methods

impl Term
[src]

fn new() -> Term

fn default_instance() -> &'static Term

fn clear_field_type(&mut self)

fn has_field_type(&self) -> bool

fn set_field_type(&mut self, v: Term_TermType)

fn get_field_type<'a>(&self) -> Term_TermType

fn clear_datum(&mut self)

fn has_datum(&self) -> bool

fn set_datum(&mut self, v: Datum)

fn mut_datum<'a>(&'a mut self) -> &'a mut Datum

fn take_datum(&mut self) -> Datum

fn get_datum<'a>(&'a self) -> &'a Datum

fn clear_args(&mut self)

fn set_args(&mut self, v: RepeatedField<Term>)

fn mut_args<'a>(&'a mut self) -> &'a mut RepeatedField<Term>

fn take_args(&mut self) -> RepeatedField<Term>

fn get_args<'a>(&'a self) -> &'a [Term]

fn clear_optargs(&mut self)

fn set_optargs(&mut self, v: RepeatedField<Term_AssocPair>)

fn mut_optargs<'a>(&'a mut self) -> &'a mut RepeatedField<Term_AssocPair>

fn take_optargs(&mut self) -> RepeatedField<Term_AssocPair>

fn get_optargs<'a>(&'a self) -> &'a [Term_AssocPair]

Trait Implementations

impl Default for Term
[src]

fn default() -> Term

Returns the "default value" for a type. Read more

impl Clone for Term
[src]

fn clone(&self) -> Term

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Sync for Term
[src]

impl Message for Term
[src]

fn is_initialized(&self) -> bool

fn merge_from(&mut self, is: &mut CodedInputStream) -> ProtobufResult<()>

fn compute_size(&self) -> u32

fn write_to_with_cached_sizes(&self, os: &mut CodedOutputStream) -> ProtobufResult<()>

fn get_cached_size(&self) -> u32

fn get_unknown_fields<'s>(&'s self) -> &'s UnknownFields

fn mut_unknown_fields<'s>(&'s mut self) -> &'s mut UnknownFields

fn type_id(&self) -> TypeId

fn as_any(&self) -> &Any

fn descriptor(&self) -> &'static MessageDescriptor

fn write_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError>

fn write_length_delimited_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError>

fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>

fn check_initialized(&self) -> Result<(), ProtobufError>

fn write_to_writer(&self, w: &mut Write) -> Result<(), ProtobufError>

fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>

fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>

fn write_length_delimited_to_writer(&self, w: &mut Write) -> Result<(), ProtobufError>

fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>

impl MessageStatic for Term
[src]

fn new() -> Term

fn descriptor_static(_: Option<Term>) -> &'static MessageDescriptor

impl Clear for Term
[src]

fn clear(&mut self)

impl PartialEq for Term
[src]

fn eq(&self, other: &Term) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Debug for Term
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.