Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUST

rust initialize struct

struct Point {
	x: u32,
    y: u32,
}

let point = Point {x: 16, y: 711};

let { x, y } = point;
 
PREVIOUS NEXT
Tagged: #rust #initialize #struct
ADD COMMENT
Topic
Name
2+9 =