Struct j1939::NameBuilder
source · pub struct NameBuilder { /* private fields */ }
Implementations§
source§impl NameBuilder
impl NameBuilder
sourcepub fn identity_number(self, identity_number: u32) -> Self
pub fn identity_number(self, identity_number: u32) -> Self
Set the identity number.
sourcepub fn manufacturer_code(self, manufacturer_code: u16) -> Self
pub fn manufacturer_code(self, manufacturer_code: u16) -> Self
Set the manufacturer code.
sourcepub fn function_instance(self, function_instance: u8) -> Self
pub fn function_instance(self, function_instance: u8) -> Self
Set the function instance.
sourcepub fn ecu_instance(self, ecu_instance: u8) -> Self
pub fn ecu_instance(self, ecu_instance: u8) -> Self
Set the ECU instance.
sourcepub fn vehicle_system(self, vehicle_system: u8) -> Self
pub fn vehicle_system(self, vehicle_system: u8) -> Self
Set the vehicle system.
sourcepub fn vehicle_system_instance(self, vehicle_system_instance: u8) -> Self
pub fn vehicle_system_instance(self, vehicle_system_instance: u8) -> Self
Set the vehicle system instance.
sourcepub fn industry_group(self, industry_group: u8) -> Self
pub fn industry_group(self, industry_group: u8) -> Self
Set the industry group.
sourcepub fn arbitrary_address(self, arbitrary_address: bool) -> Self
pub fn arbitrary_address(self, arbitrary_address: bool) -> Self
Set the arbitrary address.
Trait Implementations§
source§impl Default for NameBuilder
impl Default for NameBuilder
source§fn default() -> NameBuilder
fn default() -> NameBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NameBuilder
impl RefUnwindSafe for NameBuilder
impl Send for NameBuilder
impl Sync for NameBuilder
impl Unpin for NameBuilder
impl UnwindSafe for NameBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more