pub struct ContainerBody {
pub content_start: usize,
pub content_end: usize,
pub inner_indent: String,
pub is_empty: bool,
}Expand description
Location of a container’s body (for prepend/append editing operations)
Fields§
§content_start: usizeByte offset where body content starts (after opening delimiter/heading)
content_end: usizeByte offset where body content ends (before closing delimiter)
inner_indent: StringIndentation string for new content inserted into the body
is_empty: boolTrue if the body has no meaningful content (empty, only pass/braces)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ContainerBody
impl RefUnwindSafe for ContainerBody
impl Send for ContainerBody
impl Sync for ContainerBody
impl Unpin for ContainerBody
impl UnsafeUnpin for ContainerBody
impl UnwindSafe for ContainerBody
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request