Struct SvgG

Source
pub struct SvgG(/* private fields */);
Expand description

The <g> SVG element. This can be created by calling g().

Trait Implementations§

Source§

impl AsHtmlNode for SvgG

Source§

fn as_html_node(&mut self) -> &mut HtmlNode

Source§

impl From<SvgG> for View

Source§

fn from(el: SvgG) -> Self

Converts to this type from the input type.
Source§

impl GlobalProps for SvgG

Source§

fn dangerously_set_inner_html( self, inner_html: impl Into<Cow<'static, str>>, ) -> Self

Set the inner html of an element.
Source§

fn children(self, children: impl Into<View>) -> Self

Set the children of an element.
Source§

fn ref(self, noderef: NodeRef) -> Self

Set a NodeRef on this element.
Source§

fn spread(self, attributes: Attributes) -> Self

Source§

impl SvgGlobalAttributes for SvgG

Source§

fn accentHeight(self, value: impl Into<StringAttribute>) -> Self

Source§

fn accumulate(self, value: impl Into<StringAttribute>) -> Self

Source§

fn additive(self, value: impl Into<StringAttribute>) -> Self

Source§

fn alignmentBaseline(self, value: impl Into<StringAttribute>) -> Self

Source§

fn alphabetic(self, value: impl Into<StringAttribute>) -> Self

Source§

fn amplitude(self, value: impl Into<StringAttribute>) -> Self

Source§

fn arabicForm(self, value: impl Into<StringAttribute>) -> Self

Source§

fn ascent(self, value: impl Into<StringAttribute>) -> Self

Source§

fn attributeName(self, value: impl Into<StringAttribute>) -> Self

Source§

fn attributeType(self, value: impl Into<StringAttribute>) -> Self

Source§

fn azimuth(self, value: impl Into<StringAttribute>) -> Self

Source§

fn baseFrequency(self, value: impl Into<StringAttribute>) -> Self

Source§

fn baselineShift(self, value: impl Into<StringAttribute>) -> Self

Source§

fn baseProfile(self, value: impl Into<StringAttribute>) -> Self

Source§

fn bbox(self, value: impl Into<StringAttribute>) -> Self

Source§

fn begin(self, value: impl Into<StringAttribute>) -> Self

Source§

fn bias(self, value: impl Into<StringAttribute>) -> Self

Source§

fn by(self, value: impl Into<StringAttribute>) -> Self

Source§

fn calcMode(self, value: impl Into<StringAttribute>) -> Self

Source§

fn capHeight(self, value: impl Into<StringAttribute>) -> Self

Source§

fn class(self, value: impl Into<StringAttribute>) -> Self

Source§

fn clipPathUnits(self, value: impl Into<StringAttribute>) -> Self

Source§

fn clipPath(self, value: impl Into<StringAttribute>) -> Self

Source§

fn clipRule(self, value: impl Into<StringAttribute>) -> Self

Source§

fn color(self, value: impl Into<StringAttribute>) -> Self

Source§

fn colorInterpolation(self, value: impl Into<StringAttribute>) -> Self

Source§

fn colorInterpolationFilters(self, value: impl Into<StringAttribute>) -> Self

Source§

fn colorProfile(self, value: impl Into<StringAttribute>) -> Self

Source§

fn colorRendering(self, value: impl Into<StringAttribute>) -> Self

Source§

fn crossorigin(self, value: impl Into<StringAttribute>) -> Self

Source§

fn cursor(self, value: impl Into<StringAttribute>) -> Self

Source§

fn cx(self, value: impl Into<StringAttribute>) -> Self

Source§

fn cy(self, value: impl Into<StringAttribute>) -> Self

Source§

fn d(self, value: impl Into<StringAttribute>) -> Self

Source§

fn decelerate(self, value: impl Into<StringAttribute>) -> Self

Source§

fn descent(self, value: impl Into<StringAttribute>) -> Self

Source§

fn diffuseConstant(self, value: impl Into<StringAttribute>) -> Self

Source§

fn direction(self, value: impl Into<StringAttribute>) -> Self

Source§

fn display(self, value: impl Into<StringAttribute>) -> Self

Source§

fn divisor(self, value: impl Into<StringAttribute>) -> Self

Source§

fn dominantBaseline(self, value: impl Into<StringAttribute>) -> Self

Source§

fn dur(self, value: impl Into<StringAttribute>) -> Self

Source§

fn dx(self, value: impl Into<StringAttribute>) -> Self

Source§

fn dy(self, value: impl Into<StringAttribute>) -> Self

Source§

fn edgeMode(self, value: impl Into<StringAttribute>) -> Self

Source§

fn elevation(self, value: impl Into<StringAttribute>) -> Self

Source§

fn enableBackground(self, value: impl Into<StringAttribute>) -> Self

Source§

fn end(self, value: impl Into<StringAttribute>) -> Self

Source§

fn exponent(self, value: impl Into<StringAttribute>) -> Self

Source§

fn fill(self, value: impl Into<StringAttribute>) -> Self

Source§

fn fillOpacity(self, value: impl Into<StringAttribute>) -> Self

Source§

fn fillRule(self, value: impl Into<StringAttribute>) -> Self

Source§

fn filter(self, value: impl Into<StringAttribute>) -> Self

Source§

fn filterUnits(self, value: impl Into<StringAttribute>) -> Self

Source§

fn floodColor(self, value: impl Into<StringAttribute>) -> Self

Source§

fn floodOpacity(self, value: impl Into<StringAttribute>) -> Self

Source§

fn fontFamily(self, value: impl Into<StringAttribute>) -> Self

Source§

fn fontSize(self, value: impl Into<StringAttribute>) -> Self

Source§

fn fontSizeAdjust(self, value: impl Into<StringAttribute>) -> Self

Source§

fn fontStretch(self, value: impl Into<StringAttribute>) -> Self

Source§

fn fontStyle(self, value: impl Into<StringAttribute>) -> Self

Source§

fn fontVariant(self, value: impl Into<StringAttribute>) -> Self

Source§

fn fontWeight(self, value: impl Into<StringAttribute>) -> Self

Source§

fn format(self, value: impl Into<StringAttribute>) -> Self

Source§

fn from(self, value: impl Into<StringAttribute>) -> Self

Source§

fn fr(self, value: impl Into<StringAttribute>) -> Self

Source§

fn fx(self, value: impl Into<StringAttribute>) -> Self

Source§

fn fy(self, value: impl Into<StringAttribute>) -> Self

Source§

fn g1(self, value: impl Into<StringAttribute>) -> Self

Source§

fn g2(self, value: impl Into<StringAttribute>) -> Self

Source§

fn glyphName(self, value: impl Into<StringAttribute>) -> Self

Source§

fn glyphOrientationHorizontal(self, value: impl Into<StringAttribute>) -> Self

Source§

fn glyphOrientationVertical(self, value: impl Into<StringAttribute>) -> Self

Source§

fn glyphRef(self, value: impl Into<StringAttribute>) -> Self

Source§

fn gradientTransform(self, value: impl Into<StringAttribute>) -> Self

Source§

fn gradientUnits(self, value: impl Into<StringAttribute>) -> Self

Source§

fn hanging(self, value: impl Into<StringAttribute>) -> Self

Source§

fn height(self, value: impl Into<StringAttribute>) -> Self

Source§

fn href(self, value: impl Into<StringAttribute>) -> Self

Source§

fn hreflang(self, value: impl Into<StringAttribute>) -> Self

Source§

fn horizAdvX(self, value: impl Into<StringAttribute>) -> Self

Source§

fn horizOriginX(self, value: impl Into<StringAttribute>) -> Self

Source§

fn id(self, value: impl Into<StringAttribute>) -> Self

Source§

fn ideographic(self, value: impl Into<StringAttribute>) -> Self

Source§

fn imageRendering(self, value: impl Into<StringAttribute>) -> Self

Source§

fn in_(self, value: impl Into<StringAttribute>) -> Self

Source§

fn in2(self, value: impl Into<StringAttribute>) -> Self

Source§

fn intercept(self, value: impl Into<StringAttribute>) -> Self

Source§

fn k(self, value: impl Into<StringAttribute>) -> Self

Source§

fn k1(self, value: impl Into<StringAttribute>) -> Self

Source§

fn k2(self, value: impl Into<StringAttribute>) -> Self

Source§

fn k3(self, value: impl Into<StringAttribute>) -> Self

Source§

fn k4(self, value: impl Into<StringAttribute>) -> Self

Source§

fn kernelMatrix(self, value: impl Into<StringAttribute>) -> Self

Source§

fn kernelUnitLength(self, value: impl Into<StringAttribute>) -> Self

Source§

fn kerning(self, value: impl Into<StringAttribute>) -> Self

Source§

fn keyPoints(self, value: impl Into<StringAttribute>) -> Self

Source§

fn keySplines(self, value: impl Into<StringAttribute>) -> Self

Source§

fn keyTimes(self, value: impl Into<StringAttribute>) -> Self

Source§

fn lang(self, value: impl Into<StringAttribute>) -> Self

Source§

fn lengthAdjust(self, value: impl Into<StringAttribute>) -> Self

Source§

fn letterSpacing(self, value: impl Into<StringAttribute>) -> Self

Source§

fn lightingColor(self, value: impl Into<StringAttribute>) -> Self

Source§

fn limitingConeAngle(self, value: impl Into<StringAttribute>) -> Self

Source§

fn local(self, value: impl Into<StringAttribute>) -> Self

Source§

fn markerEnd(self, value: impl Into<StringAttribute>) -> Self

Source§

fn markerMid(self, value: impl Into<StringAttribute>) -> Self

Source§

fn markerStart(self, value: impl Into<StringAttribute>) -> Self

Source§

fn markerHeight(self, value: impl Into<StringAttribute>) -> Self

Source§

fn markerUnits(self, value: impl Into<StringAttribute>) -> Self

Source§

fn markerWidth(self, value: impl Into<StringAttribute>) -> Self

Source§

fn mask(self, value: impl Into<StringAttribute>) -> Self

Source§

fn maskContentUnits(self, value: impl Into<StringAttribute>) -> Self

Source§

fn maskUnits(self, value: impl Into<StringAttribute>) -> Self

Source§

fn mathematical(self, value: impl Into<StringAttribute>) -> Self

Source§

fn max(self, value: impl Into<StringAttribute>) -> Self

Source§

fn media(self, value: impl Into<StringAttribute>) -> Self

Source§

fn method(self, value: impl Into<StringAttribute>) -> Self

Source§

fn min(self, value: impl Into<StringAttribute>) -> Self

Source§

fn mode(self, value: impl Into<StringAttribute>) -> Self

Source§

fn name(self, value: impl Into<StringAttribute>) -> Self

Source§

fn numOctaves(self, value: impl Into<StringAttribute>) -> Self

Source§

fn offset(self, value: impl Into<StringAttribute>) -> Self

Source§

fn opacity(self, value: impl Into<StringAttribute>) -> Self

Source§

fn operator(self, value: impl Into<StringAttribute>) -> Self

Source§

fn order(self, value: impl Into<StringAttribute>) -> Self

Source§

fn orient(self, value: impl Into<StringAttribute>) -> Self

Source§

fn orientation(self, value: impl Into<StringAttribute>) -> Self

Source§

fn origin(self, value: impl Into<StringAttribute>) -> Self

Source§

fn overflow(self, value: impl Into<StringAttribute>) -> Self

Source§

fn overlinePosition(self, value: impl Into<StringAttribute>) -> Self

Source§

fn overlineThickness(self, value: impl Into<StringAttribute>) -> Self

Source§

fn panose1(self, value: impl Into<StringAttribute>) -> Self

Source§

fn paintOrder(self, value: impl Into<StringAttribute>) -> Self

Source§

fn path(self, value: impl Into<StringAttribute>) -> Self

Source§

fn pathLength(self, value: impl Into<StringAttribute>) -> Self

Source§

fn patternContentUnits(self, value: impl Into<StringAttribute>) -> Self

Source§

fn patternTransform(self, value: impl Into<StringAttribute>) -> Self

Source§

fn patternUnits(self, value: impl Into<StringAttribute>) -> Self

Source§

fn ping(self, value: impl Into<StringAttribute>) -> Self

Source§

fn pointerEvents(self, value: impl Into<StringAttribute>) -> Self

Source§

fn points(self, value: impl Into<StringAttribute>) -> Self

Source§

fn pointsAtX(self, value: impl Into<StringAttribute>) -> Self

Source§

fn pointsAtY(self, value: impl Into<StringAttribute>) -> Self

Source§

fn pointsAtZ(self, value: impl Into<StringAttribute>) -> Self

Source§

fn preserveAlpha(self, value: impl Into<StringAttribute>) -> Self

Source§

fn preserveAspectRatio(self, value: impl Into<StringAttribute>) -> Self

Source§

fn primitiveUnits(self, value: impl Into<StringAttribute>) -> Self

Source§

fn r(self, value: impl Into<StringAttribute>) -> Self

Source§

fn radius(self, value: impl Into<StringAttribute>) -> Self

Source§

fn referrerPolicy(self, value: impl Into<StringAttribute>) -> Self

Source§

fn refX(self, value: impl Into<StringAttribute>) -> Self

Source§

fn refY(self, value: impl Into<StringAttribute>) -> Self

Source§

fn rel(self, value: impl Into<StringAttribute>) -> Self

Source§

fn renderingIntent(self, value: impl Into<StringAttribute>) -> Self

Source§

fn repeatCount(self, value: impl Into<StringAttribute>) -> Self

Source§

fn repeatDur(self, value: impl Into<StringAttribute>) -> Self

Source§

fn requiredExtensions(self, value: impl Into<StringAttribute>) -> Self

Source§

fn requiredFeatures(self, value: impl Into<StringAttribute>) -> Self

Source§

fn restart(self, value: impl Into<StringAttribute>) -> Self

Source§

fn result(self, value: impl Into<StringAttribute>) -> Self

Source§

fn rotate(self, value: impl Into<StringAttribute>) -> Self

Source§

fn rx(self, value: impl Into<StringAttribute>) -> Self

Source§

fn ry(self, value: impl Into<StringAttribute>) -> Self

Source§

fn scale(self, value: impl Into<StringAttribute>) -> Self

Source§

fn seed(self, value: impl Into<StringAttribute>) -> Self

Source§

fn shapeRendering(self, value: impl Into<StringAttribute>) -> Self

Source§

fn slope(self, value: impl Into<StringAttribute>) -> Self

Source§

fn spacing(self, value: impl Into<StringAttribute>) -> Self

Source§

fn specularConstant(self, value: impl Into<StringAttribute>) -> Self

Source§

fn specularExponent(self, value: impl Into<StringAttribute>) -> Self

Source§

fn speed(self, value: impl Into<StringAttribute>) -> Self

Source§

fn spreadMethod(self, value: impl Into<StringAttribute>) -> Self

Source§

fn startOffset(self, value: impl Into<StringAttribute>) -> Self

Source§

fn stdDeviation(self, value: impl Into<StringAttribute>) -> Self

Source§

fn stemh(self, value: impl Into<StringAttribute>) -> Self

Source§

fn stemv(self, value: impl Into<StringAttribute>) -> Self

Source§

fn stitchTiles(self, value: impl Into<StringAttribute>) -> Self

Source§

fn stopColor(self, value: impl Into<StringAttribute>) -> Self

Source§

fn stopOpacity(self, value: impl Into<StringAttribute>) -> Self

Source§

fn strikethroughPosition(self, value: impl Into<StringAttribute>) -> Self

Source§

fn strikethroughThickness(self, value: impl Into<StringAttribute>) -> Self

Source§

fn string(self, value: impl Into<StringAttribute>) -> Self

Source§

fn stroke(self, value: impl Into<StringAttribute>) -> Self

Source§

fn strokeDasharray(self, value: impl Into<StringAttribute>) -> Self

Source§

fn strokeDashoffset(self, value: impl Into<StringAttribute>) -> Self

Source§

fn strokeLinecap(self, value: impl Into<StringAttribute>) -> Self

Source§

fn strokeLinejoin(self, value: impl Into<StringAttribute>) -> Self

Source§

fn strokeMiterlimit(self, value: impl Into<StringAttribute>) -> Self

Source§

fn strokeOpacity(self, value: impl Into<StringAttribute>) -> Self

Source§

fn strokeWidth(self, value: impl Into<StringAttribute>) -> Self

Source§

fn style(self, value: impl Into<StringAttribute>) -> Self

Source§

fn surfaceScale(self, value: impl Into<StringAttribute>) -> Self

Source§

fn systemLanguage(self, value: impl Into<StringAttribute>) -> Self

Source§

fn tabindex(self, value: impl Into<StringAttribute>) -> Self

Source§

fn tableValues(self, value: impl Into<StringAttribute>) -> Self

Source§

fn target(self, value: impl Into<StringAttribute>) -> Self

Source§

fn targetX(self, value: impl Into<StringAttribute>) -> Self

Source§

fn targetY(self, value: impl Into<StringAttribute>) -> Self

Source§

fn textAnchor(self, value: impl Into<StringAttribute>) -> Self

Source§

fn textDecoration(self, value: impl Into<StringAttribute>) -> Self

Source§

fn textRendering(self, value: impl Into<StringAttribute>) -> Self

Source§

fn textLength(self, value: impl Into<StringAttribute>) -> Self

Source§

fn to(self, value: impl Into<StringAttribute>) -> Self

Source§

fn transform(self, value: impl Into<StringAttribute>) -> Self

Source§

fn transformOrigin(self, value: impl Into<StringAttribute>) -> Self

Source§

fn type_(self, value: impl Into<StringAttribute>) -> Self

Source§

fn u1(self, value: impl Into<StringAttribute>) -> Self

Source§

fn u2(self, value: impl Into<StringAttribute>) -> Self

Source§

fn underlinePosition(self, value: impl Into<StringAttribute>) -> Self

Source§

fn underlineThickness(self, value: impl Into<StringAttribute>) -> Self

Source§

fn unicode(self, value: impl Into<StringAttribute>) -> Self

Source§

fn unicodeBidi(self, value: impl Into<StringAttribute>) -> Self

Source§

fn unicodeRange(self, value: impl Into<StringAttribute>) -> Self

Source§

fn unitsPerEm(self, value: impl Into<StringAttribute>) -> Self

Source§

fn vAlphabetic(self, value: impl Into<StringAttribute>) -> Self

Source§

fn vHanging(self, value: impl Into<StringAttribute>) -> Self

Source§

fn vIdeographic(self, value: impl Into<StringAttribute>) -> Self

Source§

fn vMathematical(self, value: impl Into<StringAttribute>) -> Self

Source§

fn values(self, value: impl Into<StringAttribute>) -> Self

Source§

fn vectorEffect(self, value: impl Into<StringAttribute>) -> Self

Source§

fn version(self, value: impl Into<StringAttribute>) -> Self

Source§

fn vertAdvY(self, value: impl Into<StringAttribute>) -> Self

Source§

fn vertOriginX(self, value: impl Into<StringAttribute>) -> Self

Source§

fn vertOriginY(self, value: impl Into<StringAttribute>) -> Self

Source§

fn viewBox(self, value: impl Into<StringAttribute>) -> Self

Source§

fn visibility(self, value: impl Into<StringAttribute>) -> Self

Source§

fn width(self, value: impl Into<StringAttribute>) -> Self

Source§

fn widths(self, value: impl Into<StringAttribute>) -> Self

Source§

fn wordSpacing(self, value: impl Into<StringAttribute>) -> Self

Source§

fn writingMode(self, value: impl Into<StringAttribute>) -> Self

Source§

fn x(self, value: impl Into<StringAttribute>) -> Self

Source§

fn xHeight(self, value: impl Into<StringAttribute>) -> Self

Source§

fn x1(self, value: impl Into<StringAttribute>) -> Self

Source§

fn x2(self, value: impl Into<StringAttribute>) -> Self

Source§

fn xChannelSelector(self, value: impl Into<StringAttribute>) -> Self

Source§

fn xmlBase(self, value: impl Into<StringAttribute>) -> Self

Source§

fn xmlLang(self, value: impl Into<StringAttribute>) -> Self

Source§

fn xmlSpace(self, value: impl Into<StringAttribute>) -> Self

Source§

fn y(self, value: impl Into<StringAttribute>) -> Self

Source§

fn y1(self, value: impl Into<StringAttribute>) -> Self

Source§

fn y2(self, value: impl Into<StringAttribute>) -> Self

Source§

fn yChannelSelector(self, value: impl Into<StringAttribute>) -> Self

Source§

fn zoomAndPan(self, value: impl Into<StringAttribute>) -> Self

Source§

impl SvgGAttributes for SvgG

Auto Trait Implementations§

§

impl Freeze for SvgG

§

impl RefUnwindSafe for SvgG

§

impl Send for SvgG

§

impl Sync for SvgG

§

impl Unpin for SvgG

§

impl UnwindSafe for SvgG

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> GlobalAttributes for T
where T: GlobalProps,

Source§

fn attr(self, name: &'static str, value: impl Into<StringAttribute>) -> Self

Set attribute name with value.
Source§

fn bool_attr(self, name: &'static str, value: impl Into<MaybeDyn<bool>>) -> Self

Set attribute name with value.
Source§

fn prop(self, name: &'static str, value: impl Into<MaybeDyn<JsValue>>) -> Self

Set JS property name with value.
Source§

fn on<E: EventDescriptor, R>( self, _: E, handler: impl EventHandler<E, R>, ) -> Self

Set an event handler with name.
Source§

fn bind<E: BindDescriptor>(self, _: E, signal: Signal<E::ValueTy>) -> Self

Set a two way binding with name.
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> SetAttribute for T
where T: AsHtmlNode,

Source§

fn set_attribute(&mut self, name: &'static str, value: impl AttributeValue)

Source§

fn set_event_handler( &mut self, name: &'static str, value: impl FnMut(Event) + 'static, )

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.