pub struct BusName {
pub base: SmolStr,
pub lo: i32,
pub hi: i32,
pub ascending: bool,
}Fields§
§base: SmolStr§lo: i32§hi: i32§ascending: booltrue if the original notation went lo:hi (e.g. A[0:3]),
false for descending (e.g. A[3:0]). Round-trip emission
preserves the original direction.
Implementations§
Trait Implementations§
impl Eq for BusName
impl StructuralPartialEq for BusName
Auto Trait Implementations§
impl Freeze for BusName
impl RefUnwindSafe for BusName
impl Send for BusName
impl Sync for BusName
impl Unpin for BusName
impl UnsafeUnpin for BusName
impl UnwindSafe for BusName
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