Lines Matching refs:Chip

346 pub struct Chip {  struct
359 pub chip: ::std::option::Option<chip::Chip>, argument
365 impl<'a> ::std::default::Default for &'a Chip { implementation
366 fn default() -> &'a Chip { in default()
367 <Chip as ::protobuf::Message>::default_instance() in default()
371 impl Chip { impl
372 pub fn new() -> Chip { in new()
380 ::std::option::Option::Some(chip::Chip::Bt(ref v)) => v, in bt()
391 ::std::option::Option::Some(chip::Chip::Bt(..)) => true, in has_bt()
398 self.chip = ::std::option::Option::Some(chip::Chip::Bt(v)) in set_bt()
403 if let ::std::option::Option::Some(chip::Chip::Bt(_)) = self.chip { in mut_bt()
405 self.chip = ::std::option::Option::Some(chip::Chip::Bt(chip::Bluetooth::new())); in mut_bt()
408 ::std::option::Option::Some(chip::Chip::Bt(ref mut v)) => v, in mut_bt()
417 ::std::option::Option::Some(chip::Chip::Bt(v)) => v, in take_bt()
429 ::std::option::Option::Some(chip::Chip::BleBeacon(ref v)) => v, in ble_beacon()
440 ::std::option::Option::Some(chip::Chip::BleBeacon(..)) => true, in has_ble_beacon()
447 self.chip = ::std::option::Option::Some(chip::Chip::BleBeacon(v)) in set_ble_beacon()
452 if let ::std::option::Option::Some(chip::Chip::BleBeacon(_)) = self.chip { in mut_ble_beacon()
454 self.chip = ::std::option::Option::Some(chip::Chip::BleBeacon(chip::BleBeacon::new())); in mut_ble_beacon()
457 ::std::option::Option::Some(chip::Chip::BleBeacon(ref mut v)) => v, in mut_ble_beacon()
466 ::std::option::Option::Some(chip::Chip::BleBeacon(v)) => v, in take_ble_beacon()
478 ::std::option::Option::Some(chip::Chip::Uwb(ref v)) => v, in uwb()
489 ::std::option::Option::Some(chip::Chip::Uwb(..)) => true, in has_uwb()
496 self.chip = ::std::option::Option::Some(chip::Chip::Uwb(v)) in set_uwb()
501 if let ::std::option::Option::Some(chip::Chip::Uwb(_)) = self.chip { in mut_uwb()
503 self.chip = ::std::option::Option::Some(chip::Chip::Uwb(chip::Radio::new())); in mut_uwb()
506 ::std::option::Option::Some(chip::Chip::Uwb(ref mut v)) => v, in mut_uwb()
515 ::std::option::Option::Some(chip::Chip::Uwb(v)) => v, in take_uwb()
527 ::std::option::Option::Some(chip::Chip::Wifi(ref v)) => v, in wifi()
538 ::std::option::Option::Some(chip::Chip::Wifi(..)) => true, in has_wifi()
545 self.chip = ::std::option::Option::Some(chip::Chip::Wifi(v)) in set_wifi()
550 if let ::std::option::Option::Some(chip::Chip::Wifi(_)) = self.chip { in mut_wifi()
552 self.chip = ::std::option::Option::Some(chip::Chip::Wifi(chip::Radio::new())); in mut_wifi()
555 ::std::option::Option::Some(chip::Chip::Wifi(ref mut v)) => v, in mut_wifi()
564 ::std::option::Option::Some(chip::Chip::Wifi(v)) => v, in take_wifi()
577 |m: &Chip| { &m.kind }, in generated_message_descriptor_data()
578 |m: &mut Chip| { &mut m.kind }, in generated_message_descriptor_data()
582 |m: &Chip| { &m.id }, in generated_message_descriptor_data()
583 |m: &mut Chip| { &mut m.id }, in generated_message_descriptor_data()
587 |m: &Chip| { &m.name }, in generated_message_descriptor_data()
588 |m: &mut Chip| { &mut m.name }, in generated_message_descriptor_data()
592 |m: &Chip| { &m.manufacturer }, in generated_message_descriptor_data()
593 |m: &mut Chip| { &mut m.manufacturer }, in generated_message_descriptor_data()
597 |m: &Chip| { &m.product_name }, in generated_message_descriptor_data()
598 |m: &mut Chip| { &mut m.product_name }, in generated_message_descriptor_data()
602 Chip::has_bt, in generated_message_descriptor_data()
603 Chip::bt, in generated_message_descriptor_data()
604 Chip::mut_bt, in generated_message_descriptor_data()
605 Chip::set_bt, in generated_message_descriptor_data()
609 Chip::has_ble_beacon, in generated_message_descriptor_data()
610 Chip::ble_beacon, in generated_message_descriptor_data()
611 Chip::mut_ble_beacon, in generated_message_descriptor_data()
612 Chip::set_ble_beacon, in generated_message_descriptor_data()
616 Chip::has_uwb, in generated_message_descriptor_data()
617 Chip::uwb, in generated_message_descriptor_data()
618 Chip::mut_uwb, in generated_message_descriptor_data()
619 Chip::set_uwb, in generated_message_descriptor_data()
623 Chip::has_wifi, in generated_message_descriptor_data()
624 Chip::wifi, in generated_message_descriptor_data()
625 Chip::mut_wifi, in generated_message_descriptor_data()
626 Chip::set_wifi, in generated_message_descriptor_data()
628 oneofs.push(chip::Chip::generated_oneof_descriptor_data()); in generated_message_descriptor_data()
629 ::protobuf::reflect::GeneratedMessageDescriptorData::new_2::<Chip>( in generated_message_descriptor_data()
637 impl ::protobuf::Message for Chip { implementation
663 self.chip = ::std::option::Option::Some(chip::Chip::Bt(is.read_message()?)); in merge_from()
666 … self.chip = ::std::option::Option::Some(chip::Chip::BleBeacon(is.read_message()?)); in merge_from()
669 self.chip = ::std::option::Option::Some(chip::Chip::Uwb(is.read_message()?)); in merge_from()
672 self.chip = ::std::option::Option::Some(chip::Chip::Wifi(is.read_message()?)); in merge_from()
703 &chip::Chip::Bt(ref v) => { in compute_size()
707 &chip::Chip::BleBeacon(ref v) => { in compute_size()
711 &chip::Chip::Uwb(ref v) => { in compute_size()
715 &chip::Chip::Wifi(ref v) => { in compute_size()
744 &chip::Chip::Bt(ref v) => { in write_to_with_cached_sizes()
747 &chip::Chip::BleBeacon(ref v) => { in write_to_with_cached_sizes()
750 &chip::Chip::Uwb(ref v) => { in write_to_with_cached_sizes()
753 &chip::Chip::Wifi(ref v) => { in write_to_with_cached_sizes()
770 fn new() -> Chip { in new()
771 Chip::new() in new()
787 fn default_instance() -> &'static Chip { in default_instance()
788 static instance: Chip = Chip { in default_instance()
801 impl ::protobuf::MessageFull for Chip { implementation
808 impl ::std::fmt::Display for Chip { implementation
814 impl ::protobuf::reflect::ProtobufValue for Chip { implementation
824 pub enum Chip { enum
835 impl ::protobuf::Oneof for Chip { implementation
838 impl ::protobuf::OneofFull for Chip { implementation
841 …descriptor.get(|| <super::Chip as ::protobuf::MessageFull>::descriptor().oneof_by_name("chip").unw… in descriptor()
845 impl Chip { implementation
847 ::protobuf::reflect::GeneratedOneofDescriptorData::new::<Chip>("chip") in generated_oneof_descriptor_data()
2256 pub chip: ::std::option::Option<chip_create::Chip>,
2277 ::std::option::Option::Some(chip_create::Chip::BleBeacon(ref v)) => v, in ble_beacon()
2288 ::std::option::Option::Some(chip_create::Chip::BleBeacon(..)) => true, in has_ble_beacon()
2295 self.chip = ::std::option::Option::Some(chip_create::Chip::BleBeacon(v)) in set_ble_beacon()
2300 if let ::std::option::Option::Some(chip_create::Chip::BleBeacon(_)) = self.chip { in mut_ble_beacon()
2302 …self.chip = ::std::option::Option::Some(chip_create::Chip::BleBeacon(chip_create::BleBeaconCreate:… in mut_ble_beacon()
2305 ::std::option::Option::Some(chip_create::Chip::BleBeacon(ref mut v)) => v, in mut_ble_beacon()
2314 ::std::option::Option::Some(chip_create::Chip::BleBeacon(v)) => v, in take_ble_beacon()
2362 oneofs.push(chip_create::Chip::generated_oneof_descriptor_data()); in generated_message_descriptor_data()
2397 … self.chip = ::std::option::Option::Some(chip_create::Chip::BleBeacon(is.read_message()?)); in merge_from()
2435 &chip_create::Chip::BleBeacon(ref v) => { in compute_size()
2467 &chip_create::Chip::BleBeacon(ref v) => { in write_to_with_cached_sizes()
2537 pub enum Chip { enum
2542 impl ::protobuf::Oneof for Chip { implementation
2545 impl ::protobuf::OneofFull for Chip { implementation
2552 impl Chip { impl
2554 ::protobuf::reflect::GeneratedOneofDescriptorData::new::<Chip>("chip") in generated_oneof_descriptor_data()
2752 pub chips: ::std::vec::Vec<Chip>,
3680 messages.push(Chip::generated_message_descriptor_data()); in file_descriptor()