Struct ql2::proto::Frame [] [src]

pub struct Frame {
    // some fields omitted
}

Methods

impl Frame
[src]

fn new() -> Frame

fn default_instance() -> &'static Frame

fn clear_field_type(&mut self)

fn has_field_type(&self) -> bool

fn set_field_type(&mut self, v: Frame_FrameType)

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

fn clear_pos(&mut self)

fn has_pos(&self) -> bool

fn set_pos(&mut self, v: i64)

fn get_pos<'a>(&self) -> i64

fn clear_opt(&mut self)

fn has_opt(&self) -> bool

fn set_opt(&mut self, v: String)

fn mut_opt<'a>(&'a mut self) -> &'a mut String

fn take_opt(&mut self) -> String

fn get_opt<'a>(&'a self) -> &'a str

Trait Implementations

impl Default for Frame
[src]

fn default() -> Frame

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

impl Clone for Frame
[src]

fn clone(&self) -> Frame

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 Frame
[src]

impl Message for Frame
[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 Frame
[src]

fn new() -> Frame

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

impl Clear for Frame
[src]

fn clear(&mut self)

impl PartialEq for Frame
[src]

fn eq(&self, other: &Frame) -> 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 Frame
[src]

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

Formats the value using the given formatter.