#[non_exhaustive]pub struct SegmentLayer {
pub base: Option<SegmentBase>,
pub list: Option<SegmentList>,
pub template: Option<SegmentTemplate>,
}Expand description
The Segment information declared at one hierarchy level: at most one of the three kinds (5.3.9.1).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.base: Option<SegmentBase>SegmentBase.
list: Option<SegmentList>SegmentList.
template: Option<SegmentTemplate>SegmentTemplate.
Trait Implementations§
Source§impl Clone for SegmentLayer
impl Clone for SegmentLayer
Source§impl Debug for SegmentLayer
impl Debug for SegmentLayer
Source§impl Default for SegmentLayer
impl Default for SegmentLayer
Source§impl PartialEq for SegmentLayer
impl PartialEq for SegmentLayer
impl StructuralPartialEq for SegmentLayer
Auto Trait Implementations§
impl Forget for SegmentLayer
impl Freeze for SegmentLayer
impl Move for SegmentLayer
impl RefUnwindSafe for SegmentLayer
impl Send for SegmentLayer
impl Sync for SegmentLayer
impl Unpin for SegmentLayer
impl UnsafeUnpin for SegmentLayer
impl UnwindSafe for SegmentLayer
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